Petrol to HEX — Color Code

HEX

#005f6a

Format Value
HEX #005f6a
RGB rgb(0, 95, 106)
HSL hsl(186.2, 100%, 20.8%)
CMYK cmyk(100%, 10.4%, 0%, 58.4%)

What is the HEX code for petrol?

The CSS color petrol in HEX format is #005f6a. Use this value directly in CSS, SVG, and most design tools.

How do I use petrol in CSS?

To apply petrol in CSS:

  • Text color: color: #005f6a;
  • Background: background-color: #005f6a;
  • Border: border-color: #005f6a;

What are all the color format values for petrol?

FormatValue
HEX#005f6a
RGBrgb(0, 95, 106)
HSLhsl(186.2, 100%, 20.8%)
CMYKcmyk(100%, 10.4%, 0%, 58.4%)

How do I convert petrol to HEX?

Select petrol from the color name list in our color converter. The HEX value — #005f6a — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does petrol belong to?

petrol belongs to the cyan color family. It is a dark, vivid color with HSL values: hue 186.2°, saturation 100%, lightness 20.8%.

How do I create lighter and darker shades of petrol?

Lighter variant (lightness 35.8%): #00a4b7. Darker variant (lightness 5.800000000000001%): #001b1e. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.