Convertir un color de Hexadecimal a RGB con PHP
Casi todos los que nos dedicamos a la informática, y especialmente aquellos que nos toca ver de cerca temas de diseño, nos terminamos acostumbrando a utilizar el hexadecimal como anotación para definir los colores.
No obstante hoy os dejamos una pequeña función que sirve para convertir un color de Hexadecimal a RGB con PHP.
function Hex2RGB($color){ $color = str_replace('#', '', $color); if (strlen($color) != 6){ return array(0,0,0); } $rgb = array(); for ($x=0;$x<3;$x++){ $rgb[$x] = hexdec(substr($color,(2*$x),2)); } return $rgb; }
Pingback: rybelsus pill
Pingback: clomid price
Pingback: sildenafil citrate 100 mg
Pingback: 75 mg viagra
Pingback: how to buy cialis
Pingback: buy generic cialis
Pingback: libido boosting herbs for men with ginseng
Pingback: buy cheap androxal price usa
Pingback: cheap rifaximin generic release date
Pingback: buying staxyn buy in the uk
Pingback: kamagra livraison samedi en ligne
Pingback: buy enclomiphene non prescription online
Pingback: purchase flexeril cyclobenzaprine buy online uk
Pingback: how to order gabapentin price netherlands
Pingback: buy fildena usa pharmacy
Pingback: discount itraconazole usa suppliers
Pingback: buying avodart canadian sales
Pingback: order xifaxan generic ireland
Pingback: koupit kamagra v chicagu
Pingback: goodrx sildenafil 100
Pingback: goodrx sildenafil 100
Pingback: cialis 5 mg price
Pingback: viagra blue pill 100
Pingback: buy sildenafil 50mg
Pingback: cialis lilly
Pingback: sildenafil oral jelly 100mg
Pingback: 5 mg of cialis