html - What should I use? Hex codes, RGB codes, or color names in code? -



html - What should I use? Hex codes, RGB codes, or color names in code? -

i wanted know, there difference, or better, if utilize hex codes in html #000000, rgb codes rgb(0,0,0), or color names black?

it own preferences most, avoid color names because depending on else translate color. avoid rgba since it's gaining back upwards still not supported broadly enough. rgb though bit easier manipulate in javascript.

html css colors

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -