Skip to content

Add a greyscale mode #4

Description

@Lorp

In showing a greyscale environment, this formula should be useful:

For sRGB, once transformed to linear-light, the factors are actually

0.21263900587151027 R + 0.715168678767756 G + 0.07219231536073371 B

Reference: @svgeesus [MPEG-OTSPEC] COLRv1 to gray/alpha question (& color-blindness question)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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