Leave That Thing Alone Blog
Create hex color range CFC
As part of my worldmap I had created a map symbolization method that can calculate a range of hex colors between two given colors.
I had fun playing with that function so I thought I'd show an example of just that outside of the map.
This example lets you specify a start hex color, an end hex color, and the number of steps. The createHexColorRangeString method returns a string of hex colors, the example loops through that list to display the colors in div tags.
Hex Color Range CFC Example

Comments
There are no comments for this entry.
[Add Comment] [Subscribe to Comments]