#How to get input type color value without hash symbol ?

10 messages · Page 1 of 1 (latest)

static shale
#

With .value i get something like #fafafa but i need the hex value without # symbol ? as there any way ?

magic tulip
#

Sounds like this might be for the color scheme project.

I suggest looking into the following methods:
.substr()
.slice()

static shale
magic tulip
#

It's used to list the available options for color schemes.

<select id="color_scheme">
  <option value="valueName">Value shown in dropdown menu</option>
</select>

You can grab the value in the same way you would any other user-manipulated element

static shale
#

I know what it is used for but in this project what we are supposed to do with it ?

#

like how to display these values ? if i consolo log data.mode i get only one value of monochrome

#

my question is how to get all these values

magic tulip
static shale
#

Yeah i got that after few minutes of asking here btw thanks for your help