-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
From @AaronLayton on February 12, 2015 21:51
An idea for a new utility element (if something like this doesn't already exist).
Set an inputColor and have the core-color figure out what the closet pallet color is based on the Material Design pallet
http://www.google.co.uk/design/spec/style/color.html#color-color-palette
<core-color inputColor="#ff0000" mainColor="{{ backgroundColour }}" textColor="{{ textColor }}" format="#hex"></core-color>
<!-- backgroundColour == #b71c1c -->
<!-- textColor == #fff -->Let the input color be anything
- Web Safe
- HEX
- #HEX
- RGB
- RGBA
- HSL
- HSLA
- CMYK
Let the user specify the format they want to retrieve the color as
Copied from original issue: Polymer/polymer#1185