I need to make this hexadecimal code # ff6a00, is there any rule? Do you have any formula?
I need to make this hexadecimal code # ff6a00, is there any rule? Do you have any formula?
One way to simplify would be to replace the hexadecimal color code with the name of the color, in this table has the names and hexadecimal codes of each color.
Example: background-color: # ADFF2F has the same effect as background-color: GreenYellow
Then just look for the color closest to the quoted hexadecimal code and replace it with the name of the color in question.
TL; DR : There is no way to simplify.
Long version :
#RRGGBB
). #RGB
) this is not possible, since the green component format ( #6a
) can not be simplified without loss of color resolution. Close versions: #f60
or #f70
. Example LESS:
@o: #ff6a00;
#title { color: @o; }
Still, the compiled version will display the full content:
#title { color: #ff6a00; }