What is the HEX code for ocean?
The CSS color ocean in HEX format is #017b92. Use this value directly in CSS, SVG, and most design tools.
How do I use ocean in CSS?
To apply ocean in CSS:
- Text color: color: #017b92;
- Background: background-color: #017b92;
- Border: border-color: #017b92;
What are all the color format values for ocean?
| Format | Value |
|---|---|
| HEX | #017b92 |
| RGB | rgb(1, 123, 146) |
| HSL | hsl(189.5, 98.6%, 28.8%) |
| CMYK | cmyk(99.3%, 15.8%, 0%, 42.7%) |
How do I convert ocean to HEX?
Select ocean from the color name list in our color converter. The HEX value — #017b92 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does ocean belong to?
ocean belongs to the cyan color family. It is a dark, vivid color with HSL values: hue 189.5°, saturation 98.6%, lightness 28.8%.
How do I create lighter and darker shades of ocean?
Lighter variant (lightness 43.8%): #02bbde. Darker variant (lightness 13.8%): #003b46. 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.