The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
Is there a way to generate a HEX color but within a range of HSB values?
These are the HSB ranges I want to use.
H: 0 – 360
S: 50 – 85
B: 80 – 100
This generates a random hex color….found here on CSS-Tricks
There’s all sorts of crazy math involved with this, but it is possible. This might be a good starting point: http://en.wikipedia.org/wiki/HSL_and_HSV#Converting_to_RGB
are HSB and HSL the same?
HSB is the same as HSV.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed