Hi there,
I’m trying to search through an array of colours and find ones with similar hues to a target colour.
I’ve tried checking for colours with similar rgb values but it isn’t quite giving me the results I’m looking for. I’d really like to check against the colour’s hue (like in the colour picker) without worrying so much about value.
Does anyone know how I could get this working? I was thinking it might be handy to be able to convert the RGB colors to HSV, but I’m not sure how to do this…
Any ideas?
Thanks
Pete