How to calculate hexadecimal hue values?

一世执手 提交于 2019-12-24 08:13:15

问题


I have multiple original color values.

I'm using a piece of software that only allows me to add hexadecimal hue values (such as hue:0x00ff00 or hue:0x000100) to these values in order to change their color.

EDIT: I cannot directly type the final color I want. I can only control the hue (hexadecimal value), the saturation (value between -100 and 100), the lightness (value between -100 and 100) and the gamma (value between 0.01 and 10.0).

How do I calculate the hue value I need for each original color in order to get the exact same final color after each transformation?

Thanks!

Let me reformulate if I'm unclear:

I have 4 colors to start with #FFA500 (orange), #008000 (green), #800080 (purple) and #FFC0CB (pink). How do I calculate what transformations they need to become deepskyblue (#00BFFF)?

来源:https://stackoverflow.com/questions/45901333/how-to-calculate-hexadecimal-hue-values

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!