diff --git a/src/Util.php b/src/Util.php index d47ccf0ed..a395aaa37 100644 --- a/src/Util.php +++ b/src/Util.php @@ -196,21 +196,6 @@ class Util{ return $digit; } - /** - * used for converting fg/bg colors (e.g. #0000ff = 0x0000FF) - added 2015.07.27 ~ DoktorJ - * - * @param int $hex - * - * @return array - */ - public static function hex2rgb($hex = 0x0){ - return [ - 'r' => (int)floor($hex / 65536), - 'g' => (int)floor($hex / 256) % 256, - 'b' => (int)$hex % 256, - ]; - } - /** * @param string $c *