Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #37824

Re: input type="color"

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: input type="color"
Date 2019-11-22 10:26 +0100
Message-ID <h3pnucFua1sU1@mid.individual.net> (permalink)
References <EuOdnX4YMNxVk0vAnZ2dnUU7-LfNnZ2d@westnet.com.au>

Show all headers | View raw


On 21.11.19 05:12, Andrew Poulos wrote:

> I've got an input type="color" and when the colour picker opens I can 
> enter an RGB hex string but I need to be able to enter a typical hex 
> string - three two-digit hexadecimal numbers eg #FA3366.
> 
> The behaviour of the picker seems odd to me because the default colour 
> is set as typical hex.

What is "typical hex"?

See here:

<https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color>

> Is there a way to "force" the picker to use hex or do I need to use a 
> custom colour picker? If I do need to use a custom picker can someone 
> please recommend one.

See above.


-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

input type="color" Andrew Poulos <ap_prog@hotmail.com> - 2019-11-21 15:12 +1100
  Re: input type="color" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-11-21 12:24 +0100
  Re: input type="color" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-11-21 15:36 +0100
    Re: input type="color" Andrew Poulos <ap_prog@hotmail.com> - 2019-11-22 07:50 +1100
      Re: input type="color" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-11-22 01:01 +0100
  Re: input type="color" Jon Ribbens <jon+usenet@unequivocal.eu> - 2019-11-21 15:33 +0000
    Re: input type="color" Andrew Poulos <ap_prog@hotmail.com> - 2019-11-22 07:46 +1100
  Re: input type="color" Arno Welzel <usenet@arnowelzel.de> - 2019-11-22 10:26 +0100
    Re: input type="color" Jake Jarvis <pig_in_shoes@yahoo.com> - 2019-11-22 12:08 +0100
      Re: input type="color" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-11-22 13:12 +0100
        Re: input type="color" Andrew Poulos <ap_prog@hotmail.com> - 2019-11-23 13:55 +1100
          Re: input type="color" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-11-23 13:47 +0100
            Re: input type="color" Andrew Poulos <ap_prog@hotmail.com> - 2019-11-24 09:43 +1100
              Re: input type="color" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-11-24 10:12 +0100
      Re: input type="color" Arno Welzel <usenet@arnowelzel.de> - 2019-11-25 09:56 +0100
        Re: input type="color" Jon Ribbens <jon+usenet@unequivocal.eu> - 2019-11-25 12:36 +0000
          Re: input type="color" Julio Di Egidio <julio@diegidio.name> - 2019-11-25 07:41 -0800

csiph-web