Html Css Color HEX #040242 Midnight Express

📋 copy color: '#040242'

red 4 ◦ green 2 ◦ blue 66

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

Shades of Midnight Express #040242

Tints of Midnight Express #040242

RGB

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

 GREEN value IS 2 (1.17% from 255) = 2.78%

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

R = 5.56%
G = 2.78%
B = 91.67%

CMYK

 C value IS 0.94

 M value IS 0.97

 Y value IS 0

 K value IS 0.74

RGB Variations

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

Color information

#040242 (or 0x040242) is known color: Midnight Express. HEX triplet: 04, 02 and 42. RGB value is (4,2,66). Sum of RGB (Red+Green+Blue) = 4+2+66=72 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.56% from 72); Green value is 2 (1.17% from 255 or 2.78% from 72); Blue value is 66 (26.17% from 255 or 91.67% from 72); Max value from RGB is 66 - color contains mainly: blue. Hex color #040242 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040242 is #FBFDBD. Grayscale: #090909. Windows color (decimal): -16514494 or 4325892. OLE color: 4325892.

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

Color convert

RGB 4 2 66 -
CMYK 0.94 0.97 0 0.74
HSL 241.88º 0.94% 0.13% -
HSV(B) 241.88º 0.97% 0.26% -
XYZ 1.06 0.46 5.19 -
YUV 9.89 159.66 123.8 -
System Red Green Blue C M Y K H S L
Decimal 4 2 66 0.94 0.97 0 0.74 241.88 0.94 0.13
Hex 4 2 42 5E 61 0 4A F2 5E D
Octal 4 2 102 136 141 0 112 362 136 15
Binary 100 10 1000010 1011110 1100001 0 1001010 11110010 1011110 1101

Color Harmonies of #040242

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040242

Black with #040242

Text Example


Text Example

White with #040242

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #040242; }

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

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

background-color css

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

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

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

border-color css

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

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

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