Jump to content

Hexidecimal color not recognised.


Recommended Posts



I'm using sublime editor to create a css. I want to use the colour: #5c5cd6, a bluish colour. However, the letters are not being recognised in the editor and show as white when they usually turn purply.


Any idea's??




Ben W

Link to comment
Share on other sites

I think the problem is probably that your editor doesn't highlight values for incorrect property names. The CSS property is "color:" rather than "colour:"

Link to comment
Share on other sites

Hi, thanks for the reply.


I am using the shorthand css looks something like this:




background: #5c5cd6; etc et.


I have checked and the spelling is correct. ("color"). I have worked around it by using the rgb method but it's just bugging me.

Thanks again,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...