Html Css Color HEX #040C42 Midnight Express

📋 copy color: '#040C42'

red 4 ◦ green 12 ◦ blue 66

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

Shades of Midnight Express #040C42

Tints of Midnight Express #040C42

RGB

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

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

 BLUE value IS 66 (26.17% from 255) = 80.49%

R = 4.88%
G = 14.63%
B = 80.49%

CMYK

 C value IS 0.94

 M value IS 0.82

 Y value IS 0

 K value IS 0.74

RGB Variations

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

Color information

#040C42 (or 0x040C42) is known color: Midnight Express. HEX triplet: 04, 0C and 42. RGB value is (4,12,66). Sum of RGB (Red+Green+Blue) = 4+12+66=82 (10% of max value = 765). Red value is 4 (1.95% from 255 or 4.88% from 82); Green value is 12 (5.08% from 255 or 14.63% from 82); Blue value is 66 (26.17% from 255 or 80.49% from 82); Max value from RGB is 66 - color contains mainly: blue. Hex color #040C42 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040C42 is #FBF3BD. Grayscale: #0F0F0F. Windows color (decimal): -16511934 or 4328452. OLE color: 4328452.

HSL color Cylindrical-coordinate representation of color #040C42: hue angle of 232.26º degrees, saturation: 0.89, lightness: 0.14%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.94%. Process color model (Four color, CMYK) of #040C42 is Cyan = 0.94, Magento = 0.82, Yellow = 0 and Black (K on CMYK) = 0.74.

Color convert

RGB 4 12 66 -
CMYK 0.94 0.82 0 0.74
HSL 232.26º 0.89% 0.14% -
HSV(B) 232.26º 0.94% 0.26% -
XYZ 1.16 0.68 5.22 -
YUV 15.76 156.35 119.61 -
System Red Green Blue C M Y K H S L
Decimal 4 12 66 0.94 0.82 0 0.74 232.26 0.89 0.14
Hex 4 C 42 5E 52 0 4A E8 59 E
Octal 4 14 102 136 122 0 112 350 131 16
Binary 100 1100 1000010 1011110 1010010 0 1001010 11101000 1011001 1110

Color Harmonies of #040C42

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040C42

Black with #040C42

Text Example


Text Example

White with #040C42

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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