#040C8A Information

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

#040c8a
(4 , 12 , 138)
  • R (4)
  • G (12)
  • B (138)
  • C (52.55)
  • M (49.41)
  • Y (0)
  • K (45.88)

Applying the #040c8a

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

Type Values
RGB 4 12 138
HSL 0.66 0.94 0.28
HSV 236 97 54
CMYK 52.55 49.41 0 45.88
XYZ 4.769 2.1237 24.2033
Hunter Lab 14.573 32.9108 -88.2332
CIE-Lab 16.1236 45.9523 -65.7676

Base Numbers

BaseRedGreenBlue
Decimal 4 12 138
Binary 100 1100 10001010
Octal 4 14 212
Hex 4 C 8A

Monochromatic Colors

Triadic Colors

Analogous Colors

Complementary Colors

Related Colors

#040c8a Preview on Black Background

You are Awesome !!

Gradient Power

  • Monochromatic Gradient

  • Triadic Gradient

  • Analogous Gradient

  • Related Color Gradient

#040C8A Color CSS Codes

You are Awesome !!

Text Color Example

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

Background Color Example

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

Border Color Example

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

Box & Text Shadow Color Example

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