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


Groups > comp.lang.javascript > #37834

Re: input type="color"

Newsgroups comp.lang.javascript
Subject Re: input type="color"
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <EuOdnX4YMNxVk0vAnZ2dnUU7-LfNnZ2d@westnet.com.au> <h3pnucFua1sU1@mid.individual.net> <qr8fig$9qm$1@dont-email.me>
Date 2019-11-22 13:12 +0100
Message-ID <XnsAB0F86568E313eejj99@194.109.6.166> (permalink)

Show all headers | View raw


Jake Jarvis <pig_in_shoes@yahoo.com> wrote on 22 Nov 2019 in 
comp.lang.javascript:

> Am 22.11.2019 um 10:26 schrieb Arno Welzel:
>> 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.
>> 
>> 
> 
> I am on Windows 10 (chrome, firefox) and get presented with a color 
> picker widget that looks like the one from Paint, where you CANNOT input 
> the colour as hex

You don't even need a colourpicker when inputting a hex value,
as  it is just a string per definition.



-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

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