ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
ThinkGeo Cloud Colors provides several ways to generate harmonious themes of colors, which you can use to design attractive and meaningful maps. Your color themes can be designed around a specific base color, or the service can choose a random color for you. Check out Generate Color Themes for a quick look.
Try it Online
There are two kinds of APIs provided by ThinkGeo Cloud Colors Utility that provide different color generation algorithms.
HTTP GET
https://cloud.thinkgeo.com/api/v1/color/scheme/{algorithm}/{inputColor}/{numberOfColors}?inFormat={inFormat}&outFormat={outFormat}&apiKey={apiKey}
URL Parameters
Sample Request https://cloud.thinkgeo.com/api/v1/color/scheme/analogous/FF00FF/5?apiKey=mykey
HTTP GET
https://cloud.thinkgeo.com/api/v1/color/scheme/{algorithm}/random/{numberOfColors}?outFormat={outFormat}&apiKey={apiKey}
URL Parameters
Sample Request https://cloud.thinkgeo.com/api/v1/color/scheme/analogous/random/5?apiKey=mykey
A .Net SDK ThinkGeo Cloud Client is provided to consume the ThinkGeo Cloud Service as well. It's available on NuGet, here is the complete API List.
Sample Code:
using ThinkGeo.Cloud; using ThinkGeo.MapSuite.Drawing; ColorClient client = new ColorClient("Your Client ID", "Your Client Secret"); Dictionary<GeoColor, Collection<GeoColor>> results = client.GetColorsInAnalogousFamily(new GeoColor(255, 0, 255), 5); Dictionary<GeoColor, Collection<GeoColor>> results = client.GetColorsInAnalogousFamily(5);
Native SDKs for Python, iOS and Android are coming soon.
Online Sample:
Desktop Sample:
Web Sample:
Coming soon
Mobile Sample:
Coming soon