Html Css Color HEX #040C5F Midnight Blue

📋 copy color: '#040C5F'

red 4 ◦ green 12 ◦ blue 95

#040C5F
Download Color Icon.PNG:
16x16 32x32 64x64 128x128 256x256

Shades of Midnight Blue #040C5F

Tints of Midnight Blue #040C5F

RGB

 RED value IS 4 (1.95% from 255) = 3.6%

 GREEN value IS 12 (5.08% from 255) = 10.81%

 BLUE value IS 95 (37.5% from 255) = 85.59%

R = 3.6%
G = 10.81%
B = 85.59%

CMYK

 C value IS 0.96

 M value IS 0.87

 Y value IS 0

 K value IS 0.63

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

Color information

#040C5F (or 0x040C5F) is known color: Midnight Blue. HEX triplet: 04, 0C and 5F. RGB value is (4,12,95). Sum of RGB (Red+Green+Blue) = 4+12+95=111 (14% of max value = 765). Red value is 4 (1.95% from 255 or 3.60% from 111); Green value is 12 (5.08% from 255 or 10.81% from 111); Blue value is 95 (37.5% from 255 or 85.59% from 111); Max value from RGB is 95 - color contains mainly: blue. Hex color #040C5F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040C5F is #FBF3A0. Grayscale: #121212. Windows color (decimal): -16511905 or 6228996. OLE color: 6228996.

HSL color Cylindrical-coordinate representation of color #040C5F: hue angle of 234.73º degrees, saturation: 0.92, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040C5F is Cyan = 0.96, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.63.

Color convert

RGB 4 12 95 -
CMYK 0.96 0.87 0 0.63
HSL 234.73º 0.92% 0.19% -
HSV(B) 234.73º 0.96% 0.37% -
XYZ 2.25 1.11 10.92 -
YUV 19.07 170.85 117.25 -
System Red Green Blue C M Y K H S L
Decimal 4 12 95 0.96 0.87 0 0.63 234.73 0.92 0.19
Hex 4 C 5F 60 57 0 3F EB 5C 13
Octal 4 14 137 140 127 0 77 353 134 23
Binary 100 1100 1011111 1100000 1010111 0 111111 11101011 1011100 10011

Color Harmonies of #040C5F

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040C5F

Black with #040C5F

Text Example


Text Example

White with #040C5F

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #040C5F; }

 p { color: rgb(4,12,95); }

 H1.HeaderClassName
 {
   color: #040C5F;
 }
 .AnyTagClassName
 {
   color: #040C5F;
 }
</style>

background-color css

<style>
 a { background-color: #040C5F; }

 a { background-color: rgb(4,12,95); }

 div.DivClassName
 {
   background-color: #040C5F;
 }
 .BgClassName
 {
   background-color: #040C5F;
 }
</style>

border-color css

<style>
 span { border-color: #040C5F; }

 span { border-color: rgb(4,12,95); }

 td.TdClassName
 {
   border-color: #040C5F;
 }
 .TagClassName
 {
   border-color: #040C5F;
 }
</style>