How can I cut the color of # F4F4F4?

I already use shortcuts like #EEEEEE changed to #EEE

Is there a way that I can combine colors like F4F4F4 using CSS

Hope someone has an answer

+4
source share
3 answers

Not really. F4F4F4 shorter than RGB(244,244,244) , if that is a consolation :)

+1
source

No.

As you noted, colors in the form of #xxyyzz can be shortened to #xyz, but for colors where the red, green, and blue components are equal, there is no abbreviation.

+5
source

No, you cannot, only colors where the hexadecimal representation of each color (RGB) can be abbreviated.

read about it here http://www.websiteoptimization.com/speed/tweak/hex/

there are also names of certain colors (red, blue, light, etc.). in fact, but I don’t think your color is among them. read about it here: http://www.w3schools.com/css/css_colornames.asp

+1
source

All Articles