Ok, I know! I’m covering a topic that many better people before me have done already. However I want to share this as some quite fantastic work can come out of it. I love generating content on the fly or working and manipulating outside content. One fantastic way of doing this is manipulating colour!
When wanting to generate colour randomly or as part of a calculation I want to add , subtract and multiply. Hex colours don’t work well in my mind and that’s why I like HUE. Working with the 360 degrees of a circle sit well with me.
If you too want to work with HUE , saturation and that other one … brightness/value, then I recommend the following code.
