Navy to RGB — Color Code

RGB

rgb(0, 0, 128)

Format Value
HEX #000080
RGB rgb(0, 0, 128)
HSL hsl(240, 100%, 25.1%)
CMYK cmyk(100%, 100%, 0%, 49.8%)

What is the RGB code for navy?

The CSS color navy in RGB format is rgb(0, 0, 128). Use this value directly in CSS, SVG, and most design tools.

How do I use navy in CSS?

To apply navy in CSS:

  • Text color: color: rgb(0, 0, 128);
  • Background: background-color: rgb(0, 0, 128);
  • Border: border-color: rgb(0, 0, 128);

What are all the color format values for navy?

FormatValue
HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25.1%)
CMYKcmyk(100%, 100%, 0%, 49.8%)

How do I convert navy to RGB?

Select navy from the color name list in our color converter. The RGB value — rgb(0, 0, 128) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does navy belong to?

navy belongs to the blue color family. It is a dark, vivid color with HSL values: hue 240°, saturation 100%, lightness 25.1%.

How do I create lighter and darker shades of navy?

Lighter variant (lightness 40.1%): #0000cd. Darker variant (lightness 10.100000000000001%): #000034. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.