A worked example, rendered from real sample data. Sign in to run the tool on your own input.
#FF6B35
#004E89
#00A878
#FFD23F
#1A1A2E#FF6B35
RGB 255, 107, 53
HSL 16°, 100%, 60%
Float (1f, 0.42f, 0.208f)
Linear (1, 0.147, 0.0356)
Unity new Color(1f, 0.42f, 0.208f)
Contrast 2.84:1 on white · 7.41:1 on black → use #000000 text
#004E89
RGB 0, 78, 137
HSL 206°, 100%, 27%
Float (0f, 0.306f, 0.537f)
Linear (0, 0.0762, 0.2502)
Unity new Color(0f, 0.306f, 0.537f)
Contrast 8.57:1 on white · 2.45:1 on black → use #FFFFFF text
#00A878
RGB 0, 168, 120
HSL 163°, 100%, 33%
Float (0f, 0.659f, 0.471f)
Linear (0, 0.3916, 0.1878)
Unity new Color(0f, 0.659f, 0.471f)
Contrast 3.06:1 on white · 6.87:1 on black → use #000000 text
#FFD23F
RGB 255, 210, 63
HSL 46°, 100%, 62%
Float (1f, 0.824f, 0.247f)
Linear (1, 0.6445, 0.0497)
Unity new Color(1f, 0.824f, 0.247f)
Contrast 1.44:1 on white · 14.54:1 on black → use #000000 text
#1A1A2E
RGB 26, 26, 46
HSL 240°, 28%, 14%
Float (0.102f, 0.102f, 0.18f)
Linear (0.0103, 0.0103, 0.0273)
Unity new Color(0.102f, 0.102f, 0.18f)
Contrast 17.06:1 on white · 1.23:1 on black → use #FFFFFF text
Generate game-ready color palettes with hex, RGB, and normalized float values. Part of the DevTools Surf developer suite. Browse more tools in the Game Dev collection.