![lsinger lsinger](https://entp-lh-avatar-production.s3.amazonaws.com/avatars/41486/large.jpeg?AWSAccessKeyId=AKIAJ4QBZRZBVMOUBNZA&Expires=2028605757&Signature=8xUkbBiWFdEdFlAzRYueWaGeLm0%3D)
CPColor hexToRGB doesn't support CSS-style colors with 3 chars
Reported by lsinger | February 8th, 2009 @ 07:03 AM | in 0.7
In CSS, when creating a color from a hex value, it is commonplace to abbreviate colors which have the same character for each if the channels using only three characters, i.e., one character for each channel. cccccc becomes ccc, aabbcc becomes abc, and so on. This is currently not supported by CPColor.
I have a patch already and will send the commit to the dev-list once I've signed the contributor's agreement.
Comments and changes to this ticket
-
Ross Boucher March 24th, 2009 @ 11:55 PM
- Milestone set to 0.7
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.