private static function rgb($color) {

		return (object) [

			'r' => intval(hexdec(substr($color, 0, 2))),
			'g' => intval(hexdec(substr($color, 2, 2))),
			'b' => intval(hexdec(substr($color, 4, 2)))
		];
	}
private static function rgb($color) {

		return (object) [

			'r' => intval(hexdec(substr($color, 0, 2))),
			'g' => intval(hexdec(substr($color, 2, 2))),
			'b' => intval(hexdec(substr($color, 4, 2)))
		];
	}
private static function rgb ( $ color ) { return ( object ) [ 'r' => intval ( hexdec ( substr ( $ color , 0 , 2 ) ) ) , 'g' => intval ( hexdec ( substr ( $ color , 2 , 2 ) ) ) , 'b' => intval ( hexdec ( substr ( $ color , 4 , 2 ) ) ) ] ; }
Convert hexadecimal color to RGB
@param string $color
@return stdClass Object
Convert hexadecimal color to RGB