Html Css Color HEX #040F42 Midnight Express

📋 copy color: '#040F42'

red 4 ◦ green 15 ◦ blue 66

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

Shades of Midnight Express #040F42

Tints of Midnight Express #040F42

RGB

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

 GREEN value IS 15 (6.25% from 255) = 17.65%

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

R = 4.71%
G = 17.65%
B = 77.65%

CMYK

 C value IS 0.94

 M value IS 0.77

 Y value IS 0

 K value IS 0.74

RGB Variations

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

Color information

#040F42 (or 0x040F42) is known color: Midnight Express. HEX triplet: 04, 0F and 42. RGB value is (4,15,66). Sum of RGB (Red+Green+Blue) = 4+15+66=85 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.71% from 85); Green value is 15 (6.25% from 255 or 17.65% from 85); Blue value is 66 (26.17% from 255 or 77.65% from 85); Max value from RGB is 66 - color contains mainly: blue. Hex color #040F42 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040F42 is #FBF0BD. Grayscale: #111111. Windows color (decimal): -16511166 or 4329220. OLE color: 4329220.

HSL color Cylindrical-coordinate representation of color #040F42: hue angle of 229.35º 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 #040F42 is Cyan = 0.94, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.74.

Color convert

RGB 4 15 66 -
CMYK 0.94 0.77 0 0.74
HSL 229.35º 0.89% 0.14% -
HSV(B) 229.35º 0.94% 0.26% -
XYZ 1.2 0.76 5.24 -
YUV 17.53 155.36 118.35 -
System Red Green Blue C M Y K H S L
Decimal 4 15 66 0.94 0.77 0 0.74 229.35 0.89 0.14
Hex 4 F 42 5E 4D 0 4A E5 59 E
Octal 4 17 102 136 115 0 112 345 131 16
Binary 100 1111 1000010 1011110 1001101 0 1001010 11100101 1011001 1110

Color Harmonies of #040F42

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040F42

Black with #040F42

Text Example


Text Example

White with #040F42

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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