1. Mal


    There is a colorpicker in WordPress 3.5. It's cool that you use CSS3 gradients and it's easy to be created but I've got a few suggestions:

    1) Microsoft Paint, GIMP or Adobe Photoshop - their default colorpicker mode is better for average person. HLS - not good. In this case you should use what top corporations have used as default settings for great products. I know that HLS is more for designers but RGB is more for average human. Anyway, having an option to pick one of those modes would be the best (either by an user or by plugin/theme developer).

    2) 8 color presets below picker - honestly, that doesn't make any sense. It's absolutely redundant.

    3) Many WordPress modules need RGBA() version of a color. This is crucial. Alpha is often important.

    4) Having input field show HEX or RGBA value of a color all the time = highly recommended. Why do users need 2+ clicks to access that if they can do that with 1 click? The correct way to do this is to have TEXT INPUT and inside that INPUT a square with the color (perhaps to the right). Currently you only have a square and no input field unless user clicks on a square.

    5) Maybe no message "pick a color" at all? It is quite clear anyway.

    6) Last but not least - currently WP3.5 colorpicker supports only position relative (shows picker below INPUT and alters height of the container structure) - how about a mode where picker has position absolute? It's again - Photoshop style.

    7) API? Settings? Methods? Events? Where are they?

    Well, to conclude: I would say that it's best to check how Photoshop's color picker works and copy that. It would be great to have all these improvements :)

    Posted: 7 years ago #
  2. Mal


    About (7):

    There is no way to restore a color programmatically. This seems to be the most correct:
    1) Put a color to input.
    2) Trigger 'change' or 'blur' on that input.

    But this doesn't update color preview. Isn't this like crucial?


         jQuery(field).closest('.wp-picker-container').find('.wp-color-result').css({ 'background-color' : value });
    Posted: 7 years ago #
  3. canogrog

    From what I can tell the colour picker does not have something whereby you can save a colour and select it later. That would be useful.

    Posted: 6 years ago #
  4. ConcertPass

    RGBA values and absolute position for picker would be very useful, without copy all Photoshop features.

    Posted: 5 years ago #
  5. zerofy

    To reopen this topic again:

    Developer side:
    I can't stand the saturation mode when choosing a color with the picker.

    3 tabs (or radio buttons) where I can set it to hue mode would eliminate my process of opening photoshop every time.

    Client side:
    On another hand, as a theme developer, I'd forbid clients to play around with any colors. Each element has its class and colors defined by the theme's CSS.

    Posted: 3 years ago #
  6. monika1976

    Really I claim that RGBA would be very useful in this case, because the last parameter for the opacity/transparency makes it a huge asset. Not to mention that using RGBA is state of the art these days.

    Just my 2 cents.

    Posted: 3 years ago #
  7. Bonaldi


    Rgba for colorpicker is necessary.

    Posted: 2 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    15 Votes
  • Status

    This idea is under consideration