Posted On: 26 Dec, 2021 - Posted By: Honar Systems Convert Hex Color Format To RGB in PHP Used before category names. Blog PHP Convert Hex Color Format (#FFFFFF) to RGB function hs_hex_to_rgb($hex) { list($r, $g, $b) = sscanf($hex, "#%02x%02x%02x"); return array($r, $g, $b); } Tags: php code snippets, php development Related Posts PHP And React Contact Form With MySQL Database and AJAX PHP And React Nested Rating System With MySQL Database PHP React Nested Comment System With Reply