#040C8B Information

#040C8B color RGB value is (4 , 12 , 139) , HEX triplet: 4, c and 8b. RGB value is (4 , 12 , 139). Sum of RGB (Red+Green+Blue) = 4+12+139=155 (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 139 (54.51% from 255 or 64.65% from 215); Max value from RGB is 139 - color contains mainly: Blue . Cylindrical-coordinate representations (also known as HSL) of color #040C8B hue: 0.66 , saturation: 0.94 and the lightness value of 040c8b is 0.28.

#040c8b
(4 , 12 , 139)
  • R (4)
  • G (12)
  • B (139)
  • C (52.94)
  • M (49.8)
  • Y (0)
  • K (45.49)

Applying the #040c8b

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

Type Values
RGB 4 12 139
HSL 0.66 0.94 0.28
HSV 236 97 55
CMYK 52.94 49.8 0 45.49
XYZ 4.8417 2.1528 24.5864
Hunter Lab 14.6725 33.2256 -89.0436
CIE-Lab 16.2697 46.2558 -66.1517

Base Numbers

BaseRedGreenBlue
Decimal 4 12 139
Binary 100 1100 10001011
Octal 4 14 213
Hex 4 C 8B

Monochromatic Colors

Triadic Colors

Analogous Colors

Complementary Colors

Related Colors

#040c8b Preview on Black Background

You are Awesome !!

Gradient Power

  • Monochromatic Gradient

  • Triadic Gradient

  • Analogous Gradient

  • Related Color Gradient

#040C8B Color CSS Codes

You are Awesome !!

Text Color Example

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

Background Color Example

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

Border Color Example

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

Box & Text Shadow Color Example

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