4#include <TargetConditionals.h>
12 return 0.2126 * (r/255) + 0.7152 * (g/255) + 0.0722 * (b/255);
tuple< int, int, int > parse_terminal_color_response()
Parses terminal color response into RGB components on Windows.
bool is_bg_color_dark()
Determines if terminal background color is dark.
tuple< int, int, int > parse_terminal_color_response(const string &response)
Parses terminal color response into RGB components.
float get_terminal_bg_color_luminance()
Gets the luminance of terminal background color.