This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo_cloud_colors [2019/03/11 19:24] brianr |
thinkgeo_cloud_colors [2019/03/11 21:08] (current) brianr |
||
---|---|---|---|
Line 18: | Line 18: | ||
//**URL Parameters**// | //**URL Parameters**// | ||
- | * //**algorithm**//: The algorithm, supported values are: | + | * <html><span class="api-parameter"><span class="api-parameter-name">algorithm:</span> The algorithm to use for generating colors. Supported values are:</span></html> |
- | * //**analogous**//: Get a family of colors based on three analogous hues. | + | * <html><span class="api-parameter"><span class="api-parameter-name">analogous:</span> Get a family of colors based on three analogous hues.</span></html> |
- | * //**complementary**//: Get a family of colors based on two complementary hues. | + | * <html><span class="api-parameter"><span class="api-parameter-name">complementary:</span> Get a family of colors based on two complementary hues.</span></html> |
- | * //**contrasting**//: Get a family of colors based on two contrasting hues. | + | * <html><span class="api-parameter"><span class="api-parameter-name">contrasting:</span> Get a family of colors based on two contrasting hues.</span></html> |
- | * //**sequential**//: Get a family of colors with the same hue and sequential variances in lightness and saturation. | + | * <html><span class="api-parameter"><span class="api-parameter-name">sequential:</span> Get a family of colors with the same hue and sequential variances in lightness and saturation.</span></html> |
- | * //**qualitative**//: Get a family of colors with qualitative variances in hue, but similar lightness and saturation. | + | * <html><span class="api-parameter"><span class="api-parameter-name">qualitative:</span> Get a family of colors with qualitative variances in hue, but similar lightness and saturation.</span></html> |
- | * //**tetrad**//: Get a family of colors based on a harmonious tetrad of hues. | + | * <html><span class="api-parameter"><span class="api-parameter-name">tetrad:</span> Get a family of colors based on a harmonious tetrad (two sets of complements).</span></html> |
- | * //**triad**//: Get a family of colors based on a harmonious triad of hues. | + | * <html><span class="api-parameter"><span class="api-parameter-name">triad:</span> Get a family of colors based on a harmonious triad (three colors equidistant from each other on the color wheel).</span></html> |
- | * //**inputColor**//: A base color, for different algorithms: | + | * <html><span class="api-parameter"><span class="api-parameter-name">inputColor:</span> A base color, for different algorithms:</span></html> |
- | * //**analogous**//: Two analogous hues will be found for you. | + | * <html><span class="api-parameter"><span class="api-parameter-name">analogous:</span> Two analogous hues will be found for you.</span></html> |
- | * //**complementary**//: A complementary hue will be found for you. | + | * <html><span class="api-parameter"><span class="api-parameter-name">complementary:</span> A complementary hue will be found for you.</span></html> |
- | * //**contrasting**//: A contrasting hue will be found for you. | + | * <html><span class="api-parameter"><span class="api-parameter-name">contrasting:</span> A contrasting hue will be found for you.</span></html> |
- | * //**sequential**//: It's the color on which you want to base the color collection. | + | * <html><span class="api-parameter"><span class="api-parameter-name">sequential:</span> We'll create variations of brightness based on the hue of your base color.</span></html> |
- | * //**qualitative**//: It's the color on which you want to base the color collection. | + | * <html><span class="api-parameter"><span class="api-parameter-name">qualitative:</span> We'll create a variety of different hues of a brightness similar to your base color.</span></html> |
- | * //**tetrad**//: Three harmonious hues will be found for you. | + | * <html><span class="api-parameter"><span class="api-parameter-name">tetrad:</span> Three colors will be found for you to create a pair of complements that includes your base color.</span></html> |
- | * //**triad**//: It's the color on which you want to base the colors collections. | + | * <html><span class="api-parameter"><span class="api-parameter-name">triad:</span> Two colors of equal distance around the color wheel from your base color will be found for you.</span></html> |
- | * //**numberOfColors**//: The total number of colors you want to be returned, for different algorithms: | + | * <html><span class="api-parameter"><span class="api-parameter-name">numberOfColors:</span> The total number of colors you want to be returned, for different algorithms:</span></html> |
- | * //**analogous**//: The value must be between 3 and 54. | + | * <html><span class="api-parameter"><span class="api-parameter-name">analogous:</span> The value must be between 3 and 54.</span></html> |
- | * //**complementary**//: The value must be between 2 and 36. | + | * <html><span class="api-parameter"><span class="api-parameter-name">complementary:</span> The value must be between 2 and 36.</span></html> |
- | * //**contrasting**//: The value must be between 2 and 36. | + | * <html><span class="api-parameter"><span class="api-parameter-name">contrasting:</span> The value must be between 2 and 36.</span></html> |
- | * //**sequential**//: The value must be between 1 and 255. | + | * <html><span class="api-parameter"><span class="api-parameter-name">sequential:</span> The value must be between 1 and 255.</span></html> |
- | * //**qualitative**//: The value must be between 1 and 255. | + | * <html><span class="api-parameter"><span class="api-parameter-name">qualitative:</span> The value must be between 1 and 255.</span></html> |
- | * //**tetrad**//: The value must be between 4 and 72. | + | * <html><span class="api-parameter"><span class="api-parameter-name">tetrad:</span> The value must be between 4 and 72.</span></html> |
- | * //**triad**//: The value must be between 3 and 54. | + | * <html><span class="api-parameter"><span class="api-parameter-name">triad:</span> The value must be between 3 and 54.</span></html> |
- | * //**apikey**//: the apikey | + | * <html><span class="api-parameter"><span class="api-parameter-name">apikey:</span> the apikey</span></html> |
- | * //**inFormat (optional)**//: The format of the inputColor. Supported formats are ''Hex'', ''RGB'', and ''HSL''. If unspecified, the server will try to parse the inputColor format automatically in the order of Hex, then RGB, and finally HSL. | + | * <html><span class="api-parameter"><span class="api-parameter-name">inFormat (optional):</span> The format of the inputColor. Supported formats are ''Hex'', ''RGB'', and ''HSL''. If unspecified, the server will try to parse the inputColor format automatically in the order of Hex, then RGB, and finally HSL.</span></html> |
- | * //**outFormat (optional)**//: The format in which you want the output colors. Supported formats: Hex, RGB, HSL. Defaults to Hex. | + | * <html><span class="api-parameter"><span class="api-parameter-name">outFormat (optional):</span> The format in which you want the output colors. Supported formats: Hex, RGB, HSL. Defaults to Hex.</span></html> |
Line 59: | Line 59: | ||
//**URL Parameters**// | //**URL Parameters**// | ||
- | * //**algorithm**//: The algorithm, supported values are: | + | * <html><span class="api-parameter"><span class="api-parameter-name">algorithm:</span> The algorithm, supported values are:</span></html> |
- | * //**analogous**//: Get a family of colors based on three analogous hues. | + | * <html><span class="api-parameter"><span class="api-parameter-name">analogous:</span> Get a family of colors based on three analogous hues.</span></html> |
- | * //**complementary**//: Get a family of colors based on two complementary hues. | + | * <html><span class="api-parameter"><span class="api-parameter-name">complementary:</span> Get a family of colors based on two complementary hues.</span></html> |
- | * //**contrasting**//: Get a family of colors based on two contrasting hues. | + | * <html><span class="api-parameter"><span class="api-parameter-name">contrasting:</span> Get a family of colors based on two contrasting hues.</span></html> |
- | * //**sequential**//: Get a family of colors with the same hue and sequential variances in lightness and saturation. | + | * <html><span class="api-parameter"><span class="api-parameter-name">sequential:</span> Get a family of colors with the same hue and sequential variances in lightness and saturation.</span></html> |
- | * //**qualitative**//: Get a family of colors with qualitative variances in hue, but similar lightness and saturation. | + | * <html><span class="api-parameter"><span class="api-parameter-name">qualitative:</span> Get a family of colors with qualitative variances in hue, but similar lightness and saturation.</span></html> |
- | * //**tetrad**//: Get a family of colors based on a harmonious tetrad of hues. | + | * <html><span class="api-parameter"><span class="api-parameter-name">tetrad:</span> Get a family of colors based on a harmonious tetrad (two sets of complements).</span></html> |
- | * //**triad**//: Get a family of colors based on a harmonious triad of hues. | + | * <html><span class="api-parameter"><span class="api-parameter-name">triad:</span> Get a family of colors based on a harmonious triad (three colors equidistant from each other on the color wheel).</span></html> |
- | * //**numberOfColors**//: The total number of colors you want to be returned, for different algorithm: | + | * <html><span class="api-parameter"><span class="api-parameter-name">numberOfColors:</span> The total number of colors you want to be returned, for different algorithm:</span></html> |
- | * //**analogous**//: The value must be between 3 and 54. | + | * <html><span class="api-parameter"><span class="api-parameter-name">analogous:</span> The value must be between 3 and 54.</span></html> |
- | * //**complementary**//: The value must be between 2 and 36. | + | * <html><span class="api-parameter"><span class="api-parameter-name">complementary:</span> The value must be between 2 and 36.</span></html> |
- | * //**contrasting**//: The value must be between 2 and 36. | + | * <html><span class="api-parameter"><span class="api-parameter-name">contrasting:</span> The value must be between 2 and 36.</span></html> |
- | * //**sequential**//: The value must be between 1 and 255. | + | * <html><span class="api-parameter"><span class="api-parameter-name">sequential:</span> The value must be between 1 and 255.</span></html> |
- | * //**qualitative**//: The value must be between 1 and 255. | + | * <html><span class="api-parameter"><span class="api-parameter-name">qualitative:</span> The value must be between 1 and 255.</span></html> |
- | * //**tetrad**//: The value must be between 4 and 72. | + | * <html><span class="api-parameter"><span class="api-parameter-name">tetrad:</span> The value must be between 4 and 72.</span></html> |
- | * //**triad**//: The value must be between 3 and 54. | + | * <html><span class="api-parameter"><span class="api-parameter-name">triad:</span> The value must be between 3 and 54.</span></html> |
- | * //**apikey**//: the apikey | + | * <html><span class="api-parameter"><span class="api-parameter-name">apikey:</span> the apikey</span></html> |
- | * //**outFormat (optional)**//: The format in which you want the output colors. Supported formats are ''Hex'', ''RGB'', and ''HSL''. Defaults to Hex. | + | * <html><span class="api-parameter"><span class="api-parameter-name">outFormat (optional):</span> The format in which you want the output colors. Supported formats are ''Hex'', ''RGB'', and ''HSL''. Defaults to Hex.</span></html> |
//**Sample Request**// | //**Sample Request**// |