Skip to content

Color picker tool fails to capture the exact color of "text" and "Input field outlines" #350

@RagupathyR

Description

@RagupathyR

Describe the bug
When I use the colour contrast analyser to assess non-text elements like input fields, comboboxes, and checkboxes border colors, the colour picker does not select the correct color that is used or delivered to the element. For example, even if the border color is 1px solid #8c8c8c, which has a color ratio of 3.4:1 with the white background, the color picker selects the color Hex #B6B6B6, which has a color ratio of 2:1 with the white background.

Desktop:

  • OS: [Windows 11 64 bits]
  • Version [23H2]

To Reproduce
Steps to reproduce the behavior:
Choose the colour picker for the foreground color and move it to the input field border to select the correct colour.

Expected behavior
I should be able to pickup the correct colour from the input field border. i.e., #8c8c8c 

Screenshots
2024-08-13_14-35-47

Additional context
Note: When I snap a screenshot and use the color contrast analyzer, I obtain the hex color #909090, which is 3.2:1 and it is nearly to the expected result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpicker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions