-
-
Save parzibyte/eec8e6c4147b8c3f3bd5818d6a5f1962 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function hexadecimalARgb($hexadecimal) | |
{ | |
list($r, $g, $b) = sscanf($hexadecimal, "#%02x%02x%02x"); | |
return [$r, $g, $b]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment