HEX to RGB

Your workspaceProcessed on your device
#7D9065rgb(125, 144, 101)

Preview composited on white. HEX stores alpha in 8 bits; decimal alpha is retained in RGB and HSL.

HEX#7D9065
RGBrgb(125, 144, 101)
HSLhsl(86.512 17.551% 48.039%)
RGB percentrgb(49.02% 56.471% 39.608%)
Normalized RGBA0.4902, 0.5647, 0.3961, 1
CSS variable--color: #7D9065;

Color names use standard CSS keywords, such as red or rebeccapurple.

A few things to know.

RGB output uses 8-bit sRGB channels. Decimal alpha is preserved in RGB/HSL; HEX rounds alpha to the nearest 1/255 step. HSL input requires percentage saturation and lightness. Normalized/percentage displays are rounded. The 148 standard CSS color names and transparent are supported. Context-dependent system colors, currentcolor, relative colors, and calc() are unsupported. No color-space conversion is implied.

  1. Enter a valid HEX color, with or without #.
  2. Inspect RGB channels and alpha.
  3. Copy a value or edit the channels to convert back to HEX.