Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for 3 character hex code entry #43

Merged
merged 1 commit into from
Dec 11, 2017

Conversation

simon-whitehead
Copy link
Contributor

This PR adds support for entering 3 character hex codes as specificied in the CSS 2.1 spec.

Quote:

The three-digit RGB notation (#rgb) is converted into six-digit form (#rrggbb) by replicating digits, not by adding zeros. For example, #fb0 expands to #ffbb00.

This was one of the first things I attempted with the plugin. Let me know if its okay (there may be edge cases I haven't found where this circumvents your original usability).

mrgrain added a commit to mrgrain/colpick that referenced this pull request May 27, 2015
@josedvq josedvq merged commit 4b1658d into josedvq:master Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants