private static function createHexArray(array $vals)
    {
        foreach ($vals as $r) {
            foreach ($vals as $g) {
                foreach ($vals as $b) {
                    $colors[] = self::rgbToHex($r, $g, $b);
                }
            }
        }
        
        return $colors;
    }
private static function createHexArray(array $vals)
    {
        foreach ($vals as $r) {
            foreach ($vals as $g) {
                foreach ($vals as $b) {
                    $colors[] = self::rgbToHex($r, $g, $b);
                }
            }
        }
        
        return $colors;
    }
private static function createHexArray ( array $ vals ) { foreach ( $ vals as $ r ) { foreach ( $ vals as $ g ) { foreach ( $ vals as $ b ) { $ colors [ ] = self :: rgbToHex ( $ r , $ g , $ b ) ; } } } return $ colors ; }
Creates hex values array

@example
[
000000, 003300, 000033, ...
]

@param array $vals initial values

@return array
Creates hex values array