#040C8F Information

#040C8F color RGB value is (4 , 12 , 143) , HEX triplet: 4, c and 8f. RGB value is (4 , 12 , 143). Sum of RGB (Red+Green+Blue) = 4+12+143=159 (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 143 (56.08% from 255 or 66.51% from 215); Max value from RGB is 143 - color contains mainly: Blue . Cylindrical-coordinate representations (also known as HSL) of color #040C8F hue: 0.66 , saturation: 0.95 and the lightness value of 040c8f is 0.29.

#040c8f
(4 , 12 , 143)
  • R (4)
  • G (12)
  • B (143)
  • C (54.51)
  • M (51.37)
  • Y (0)
  • K (43.92)

Applying the #040c8f

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 #040c8f

Type Values
RGB 4 12 143
HSL 0.66 0.95 0.29
HSV 237 97 56
CMYK 54.51 51.37 0 43.92
XYZ 5.1395 2.2719 26.1542
Hunter Lab 15.0729 34.4862 -92.2901
CIE-Lab 16.8541 47.4607 -67.6797

Base Numbers

BaseRedGreenBlue
Decimal 4 12 143
Binary 100 1100 10001111
Octal 4 14 217
Hex 4 C 8F

Monochromatic Colors

Triadic Colors

Analogous Colors

Complementary Colors

Related Colors

#040c8f Preview on Black Background

You are Awesome !!

Gradient Power

  • Monochromatic Gradient

  • Triadic Gradient

  • Analogous Gradient

  • Related Color Gradient

#040C8F Color CSS Codes

You are Awesome !!

Text Color Example

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

Background Color Example

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

Border Color Example

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

Box & Text Shadow Color Example

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