Skip to content

Recommend working group provide guidance on calculating contrast of rgba #1637

Open
@mraccess77

Description

@mraccess77

Many webpages apply an alpha channel to rgb colors in order to lighten the color of text. This is prolific as light gray text is wildly popular among designers. Applying this opacity lightens the text and some contrast checking tools ignore this value.

It would be helpful to update the understanding text contrast document and techniques to remind testers and authors that the alpha channel must be taken into consideration when determining contrast.

There is a formula for converting rgba to rgb, a random example here http://marcodiiga.github.io/rgba-to-rgb-conversion

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions