src/includes/classes/Core/Utils/Color.php
public function sha1(string $string, float $adjust = 0): string
    {
        $hex        = '#'.mb_substr(sha1($string), 0, 6);
        return $hex = $adjust ? $this->adjustLuminosity($hex, $adjust) : $hex;
    }
public function sha1(string $string, float $adjust = 0): string
    {
        $hex        = '#'.mb_substr(sha1($string), 0, 6);
        return $hex = $adjust ? $this->adjustLuminosity($hex, $adjust) : $hex;
    }
SHA-1 color generation.

@since 161012 Color utilities.

@param string $string String to hash.
@param float  $adjust See {@link adjusLuminosity()}.

@return string Auto-generated color with X luminosity.