"be consistent" | |
PerlMonks |
Re: Ordering Colours Problemby johngg (Canon) |
on Mar 05, 2021 at 12:10 UTC ( [id://11129157]=note: print w/replies, xml ) | Need Help?? |
As LanX says, there's all kinds of colour wheels. This page has an interesting interactive colour wheel that, when played around with, illustrates how tricky your problem is. I'm guessing that some maths to convert RGB values into angular values based on proportion would be a starting point but you then have the white/black question to resolve, which adds the third dimension. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|