HTML color code #0C42A6

Color name: None
RGB: 12, 66, 166
HSL: 218.96deg, 86.52%, 34.90%
Web safe color: No

RGB complementary color:

A complementary color for this color is #A6700C.

Example text color using #0C42A6

This text is placeholder text to give you an idea of how this color looks when used as a font color on a white background. The following sentence uses every English character: The quick brown fox jumps over the lazy dog. 0123456789 Bold text. Italic text. With Underline.

                    

This text is placeholder text to give you an idea of how this color looks when used as a font color on a black background. The following sentence uses every English character: The quick brown fox jumps over the lazy dog. 0123456789 Bold text. Italic text. With Underline.

                    

HTML examples

<p style="color:#0C42A6;">Your text using HTML color code.</p>
<p style="color:rgb(12 66 166);">Your text using RGB color values.</p>
<p style="color:hsl(218.96deg 86.52% 34.90%);">Your text using HSL color values.</p>

CSS code examples

<style> p { color:#0C42A6; } </style>
<style> p { color:rgb(12 66 166); } </style>
<style> p { color:hsl(218.96deg 86.52% 34.90%); } </style>

Lighter colors

#164CB0
#2056BA
#2A60C4
#346ACE
#3E74D8
#487EE2
#5288EC
#5C92F6

Darker colors

#02389C
#002E92
#002488
#001A7E
#001074
#00066A
#000060
#000056

Analogous colors

#0C28A6
#0C0EA6
#230CA6
#3C0CA6
#560CA6
#700CA6
#890CA6
#A30CA6

Trinary colors

#0C42A6
#A60C42
#42A60C

Adjacent colors

#040720
#0C090A
#34282C
#3B3131
#3A3B3C
#454545
#4D4D4F
#413839
Tip

Enter any HTML color code into our search to get results like this page.

Computer Hope - HTML color codes - Top 100 color codes