diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-06-17 03:05:48 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-06-17 03:05:48 -0700 |
commit | af4b18b1e2ef8aded26fc4788c571012da04d1cf (patch) | |
tree | ddbc9d593b413804e45ec20c4955f46c2d2c6232 | |
parent | ac3cccefb53579b01618d5ef728e883dae752fd2 (diff) |
Uppercase hex color values
-rw-r--r-- | lib/webcolor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webcolor.php b/lib/webcolor.php index aaf31d990..f3ca6e94a 100644 --- a/lib/webcolor.php +++ b/lib/webcolor.php @@ -164,7 +164,7 @@ class WebColor { $hexcolor .= (strlen(dechex($this->blue)) < 2 ? '0' : '') . dechex($this->blue); - return $hexcolor; + return strtoupper($hexcolor); } |