ITADN

How to transform Tahoe Digital Color Meter rgb floats to hex format?

#308Openmcandre 创建于 2026-03-15
M
mcandrecommented
Hi, I recently updated from macOS Sequoia to macOS Tahoe, where Digital Color Meter uses this incredibly awkward (s)RGB float notation. Example: ```txt (0.675, 0.122, 0.114) ``` For scarlet red. Everything under the sun uses hex format, but Color Meter uses floats. Struggling to find the right notation to import colors in Apple's format into pastel. Both `rgb-float(0.675, 0.122, 0.114)` and `rgb(0.675, 0.122, 0.114)` corrupt to 0xFF0000 in pastel.
0 条评论