rgb(a) to hex - JSFiddle
mardi 9 juin 2015 à 00:23KraZhtest - Liens utiles - C'est le bordel 09/06/2015
Une simple fonction pour convertir une couleur rgba() en #hex, avec l'opacité en moins du coup.
Ou similaire en plugin: https://github.com/indyarmy/color2color
Et l'usine à gaz: https://github.com/gka/chroma.js/blob/master/doc/api.md
Une simple fonction pour convertir une couleur rgba() en #hex, avec l'opacité en moins du coup.
Ou similaire en plugin: https://github.com/indyarmy/color2color
Et l'usine à gaz: https://github.com/gka/chroma.js/blob/master/doc/api.md