Skip to content

How did we get the approximate term (8-bit) colors for the RGB codes? #183

@benknoble

Description

@benknoble

I'm working with @zenorocha on the dracula pro version of the vim theme (woohoo!).

I realized, though, that I had no idea how to accurately convert #RRGGBB to a 256-color approximate color, which we need to do.

/cc @dsifford if you know, I'd love some resources or help on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions