Html Css Color HEX #040542 Midnight Express

📋 copy color: '#040542'

red 4 ◦ green 5 ◦ blue 66

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

Shades of Midnight Express #040542

Tints of Midnight Express #040542

RGB

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

 GREEN value IS 5 (2.34% from 255) = 6.67%

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

R = 5.33%
G = 6.67%
B = 88%

CMYK

 C value IS 0.94

 M value IS 0.92

 Y value IS 0

 K value IS 0.74

RGB Variations

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

Color information

#040542 (or 0x040542) is known color: Midnight Express. HEX triplet: 04, 05 and 42. RGB value is (4,5,66). Sum of RGB (Red+Green+Blue) = 4+5+66=75 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.33% from 75); Green value is 5 (2.34% from 255 or 6.67% from 75); Blue value is 66 (26.17% from 255 or 88% from 75); Max value from RGB is 66 - color contains mainly: blue. Hex color #040542 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040542 is #FBFABD. Grayscale: #0B0B0B. Windows color (decimal): -16513726 or 4326660. OLE color: 4326660.

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

Color convert

RGB 4 5 66 -
CMYK 0.94 0.92 0 0.74
HSL 239.03º 0.89% 0.14% -
HSV(B) 239.03º 0.94% 0.26% -
XYZ 1.09 0.53 5.2 -
YUV 11.66 158.67 122.54 -
System Red Green Blue C M Y K H S L
Decimal 4 5 66 0.94 0.92 0 0.74 239.03 0.89 0.14
Hex 4 5 42 5E 5C 0 4A EF 59 E
Octal 4 5 102 136 134 0 112 357 131 16
Binary 100 101 1000010 1011110 1011100 0 1001010 11101111 1011001 1110

Color Harmonies of #040542

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040542

Black with #040542

Text Example


Text Example

White with #040542

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #040542; }

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

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

background-color css

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

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

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

border-color css

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

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

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