#040C8E Information

#040C8E color RGB value is (4 , 12 , 142) , HEX triplet: 4, c and 8e. RGB value is (4 , 12 , 142). Sum of RGB (Red+Green+Blue) = 4+12+142=158 (Red value is 4 (1.57% from 255 or 1.86% from 215); Green value is 12 (4.71% from 255 or 5.58% from 215); Blue value is 142 (55.69% from 255 or 66.05% from 215); Max value from RGB is 142 - color contains mainly: Blue . Cylindrical-coordinate representations (also known as HSL) of color #040C8E hue: 0.66 , saturation: 0.95 and the lightness value of 040c8e is 0.29.

#040c8e
(4 , 12 , 142)
  • R (4)
  • G (12)
  • B (142)
  • C (54.12)
  • M (50.98)
  • Y (0)
  • K (44.31)

Applying the #040c8e

You are awesome !

If you don't really have a dream, you can't really push yourself you don't really know what the target is.

Color spaces of #040c8e

Type Values
RGB 4 12 142
HSL 0.66 0.95 0.29
HSV 237 97 56
CMYK 54.12 50.98 0 44.31
XYZ 5.064 2.2417 25.757
Hunter Lab 14.9725 34.1709 -91.4777
CIE-Lab 16.708 47.1608 -67.2989

Base Numbers

BaseRedGreenBlue
Decimal 4 12 142
Binary 100 1100 10001110
Octal 4 14 216
Hex 4 C 8E

Monochromatic Colors

Triadic Colors

Analogous Colors

Complementary Colors

Related Colors

#040c8e Preview on Black Background

You are Awesome !!

Gradient Power

  • Monochromatic Gradient

  • Triadic Gradient

  • Analogous Gradient

  • Related Color Gradient

#040C8E Color CSS Codes

You are Awesome !!

Text Color Example

<p style="color:#040c8e">Text here</p>
                                    
You are Awesome !!

Background Color Example

<p style="background:#040c8e">Text here</p>
                                    
You are Awesome !!

Border Color Example

<p style="border:2px solid #040c8e">You are Awesome</p>
                                    
You are Awesome !!

Box & Text Shadow Color Example

<p style="text-shadow: 1px 1px 1px #040c8e;
box-shadow: 1px 1px 4px #040c8e">You are Awesome</p>