Convert Color Hex Values To RGB Using Php

I'm looking for a script that will search through style sheets and replace colors defined with hex values (ex: color:#FFFFFF) with its rgb value (ex: color:rgb(255,255,255)). There will also be a mixture of named colors (ex: color:white) and rgb values already in the style sheets so it will need to skip over those.

I need this done ASAP.

Please let me know if you have any questions.

here's an example of how the script should work...


.example {
background-color: #FF0000;
color: #FFFFFF;
border: 1px solid #CCCCCC;

should be converted to this:

.example {
background-color: rgb(255,0,0);
color: rgb(255,255,255);
border: 1px solid rgb(204,204,204);

Kemahiran: PHP

Lihat lagi: php convert color, php color hex rgb, php hex, php rgb hex, convert color ffffff, php hex rgb, php script hex rgb, php color hex, php hex rgb script, rgb php, freelancer hex, hex rgb php, php convert hex rgb, color hex, php convert hex, php convert ffffff rgb, hex color rgb php, hexadecimal rgb php script, convert color hex, rgb hex php script, php rgb, php script 255 rgb color, ffffff php rgb, color values php, php hex values

Tentang Majikan:
( 46 ulasan ) ML, United States

ID Projek: #342677

Dianugerahkan kepada:


It's done. See my PM please.

$30 USD dalam 0 hari
(9 Ulasan)

5 pekerja bebas membida secara purata $68 untuk pekerjaan ini


Ready to work. If you interesting write me pm. Thanks.

$50 USD dalam 0 hari
(71 Ulasan)

CSS Hex color values to RGB

$30 USD dalam 3 hari
(43 Ulasan)

It's an easy job, I can do it right away! Regards

$30 USD dalam 0 hari
(68 Ulasan)

I have a hex to rgb function that will do exactly what you require. Can do this now and complete before end of day.

$200 USD dalam sehari
(1 Ulasan)