angular-color-picker icon indicating copy to clipboard operation
angular-color-picker copied to clipboard

HSL instead HexString format + transparent selection

Open blademarek opened this issue 7 years ago • 2 comments

I want to get the hex with '#' has in it - its supposed to be 'hexString' format as you mentioned on many places. On my local build i get the normal 'hex' format without the hash, and on your demo there is 'hsl' format instead - which is both wrong(imho). Is this expected behaviour? Or am i doing something wrong

The second thing is that when the model (color property) is not set, the swatch is set as Gray/no color(not sure) but the selection when i open it is completely transparent. After click anywhere inside, whole palette shows up - hue to the most bottom (red color). Is there any way to make it not transparent so that the user knows where is he when it opens up, without the need to always set model color

blademarek avatar Nov 21 '17 11:11 blademarek

@blademarek The names of the formats comes from the tinycolor library - https://bgrins.github.io/TinyColor/docs/tinycolor.html. If you search for toHexString you will see that is where it adds the #.

I will look into the completely transparent picker as a bug

ruhley avatar Nov 22 '17 22:11 ruhley

Any updates regarding this bug?

Dhara-ZYMR avatar May 02 '19 11:05 Dhara-ZYMR