Skip to content

Black (#000000) and White (#FFFFFF) lose hue and saturation value, even if they're part of the output. #111

@mouseas

Description

@mouseas

This can be demonstrated on the additional demos page, under "Output Formatting".

Black:

  1. Open the color picker
  2. Set a Hue and Saturation other than 0, but leave Value at 0
  3. Pick that color
  4. Reopen the color picker

On reopening the colorpicker, the hue and saturation are back to 0. Compare to the same steps except set Value to 1 (or a value close to but greater than 0).

White:

  1. Open the color picker
  2. Set the Hue to something other than 0, set Value to 100 and Saturation to 0
  3. Pick that color
  4. Reopen the color picker

On reopening the colorpicker, the hue is back to 0. Compare to the same steps except set Value to 99 instead of 100, or Saturation to 1 instead of 0.


This behavior makes sense when the output is purely rgb (including hex), because rgb(0,0,0) and rgb(1.0,1.0,1.0) have no hue. But when the output is hsv this does not make sense any more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions