diff --git a/src/public/index.php b/src/public/index.php index 44bc02d..47d0dca 100644 --- a/src/public/index.php +++ b/src/public/index.php @@ -23,6 +23,12 @@ $hash = crc32($data[2]); + $hex = str_split(substr(dechex($hash), 0, 6), 2); + + $r = hexdec($hex[0]); + $g = hexdec($hex[1]); + $b = hexdec($hex[2]); + $result[] = sprintf('