MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / rgb

Function rgb

experiments/human_eval/draw_error_analysis_single_case.py:22–23  ·  view source on GitHub ↗
(color: tuple[int, int, int])

Source from the content-addressed store, hash-verified

20
21
22def rgb(color: tuple[int, int, int]) -> tuple[float, float, float]:
23 return tuple(channel / 255 for channel in color)
24
25
26NAVY = rgb((37, 66, 112))

Calls

no outgoing calls

Tested by

no test coverage detected