Nom, Hexadécimal, RGB, RGBA, HSL, HSLA
Il y a plusieurs façons de « coder » une couleur.
Dans ce Codepen, j’ai écrit la même couleur plusieurs fois (mon orange est sans doute plus fort que le « orange web »)
See the Pen color by Benoît Wimart (@benoitwimart) on CodePen.dark
Attention aux couleurs alpha, elles ne sont pas lues par IE8, certes il n’existe plus beaucoup d’IE8 mais l’astuce est simple, il suffit d’écrire sans puis avec alpha:
color:#fff; color:rgba(255,255,255,0.5);
Background & Image
Par défaut le background est répété.
See the Pen background by Benoît Wimart (@benoitwimart) on CodePen.dark
à ouvrir dans Codepen
See the Pen background option by Benoît Wimart (@benoitwimart) on CodePen.dark