Skip to content

Color math to get terminal colors from color(RGB) #1282

@LadyCailin

Description

@LadyCailin

Currently, when doing color() with an RGB value, this is simply stripped from the output. However, we should be able to do some color math to find the closest applicable terminal color, and use that instead, or at minimum translate well defined colors such as #ff0000 to "red".

See #1246 for further information, and the original PR that added this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew functionality that doesn't exist yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions