EngineHub / EngineHub/CommandHelper

Color math to get terminal colors from color(RGB)

未关闭
#1,282 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
Java
星标
128
派生
70
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。