vue-color icon indicating copy to clipboard operation
vue-color copied to clipboard

How change default saturation to maximal value to correct working of "hue" slider

Open NDanilov2015 opened this issue 3 years ago • 5 comments

Hi, Xiaokaike!

Bug or "feature" in Sketch vue component from vue-color package version 2.8.1, last updating.

if you choose a color firstly from the "rainbow spectrum band" ("HUE slider / color tone"), without touching "buttons with colors" or "big area sector ("Saturation/Brightness")", then I get always black color, regardless of the chosen color tone in reality. Buttons and a "wide rectangle with gradations of brightness / saturation", however, selected the color correctly.

How I can setup default saturation/brightness to max values, without needs touching "big rectangle area" where is "pointer of saturation"? To I can to immediately select a color tone using the slider, without setting the saturation and brightness?

picture of bug

NDanilov2015 avatar May 11 '21 11:05 NDanilov2015

Hi again! Can please someone help me with this bug/feature?

NDanilov2015 avatar May 17 '21 09:05 NDanilov2015

The question yet actually...

NDanilov2015 avatar Jun 02 '21 08:06 NDanilov2015

@NDanilov2015 You can set an initial color lliek this, when you choose a color firstly from the "rainbow spectrum band" and the alpha-value will not change.

ckvv avatar Jun 03 '21 05:06 ckvv

@chenkai0520 what did you mean? I need preset maximal value saturation/brightness before any manual choosing, strictly programmatically.

NDanilov2015 avatar Jun 03 '21 12:06 NDanilov2015

@NDanilov2015 Yes it is,for example you can set a default color like #FFFFFF

ckvv avatar Jun 04 '21 02:06 ckvv