#214 ✓resolved
lsinger

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

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.

New-ticket Create new ticket

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.

Shared Ticket Bins

People watching this ticket

Pages