MCPcopy Create free account
hub / github.com/duckdb/duckdb / GetLum

Function GetLum

tools/shell/shell_metadata_command.cpp:636–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634}
635
636double GetLum(const HighlightColorInfo &input) {
637 return sqrt(0.241 * input.r + 0.691 * input.g + 0.068 * input.b);
638}
639
640idx_t FindColorGroup(const vector<vector<string>> &groups, const string &name) {
641 optional_idx group_idx;

Callers 1

DisplayColorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected