Html Css Color HEX #040840 Midnight Express

📋 copy color: '#040840'

red 4 ◦ green 8 ◦ blue 64

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

Shades of Midnight Express #040840

Tints of Midnight Express #040840

RGB

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

 GREEN value IS 8 (3.52% from 255) = 10.53%

 BLUE value IS 64 (25.39% from 255) = 84.21%

R = 5.26%
G = 10.53%
B = 84.21%

CMYK

 C value IS 0.94

 M value IS 0.87

 Y value IS 0

 K value IS 0.75

RGB Variations

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

Color information

#040840 (or 0x040840) is known color: Midnight Express. HEX triplet: 04, 08 and 40. RGB value is (4,8,64). Sum of RGB (Red+Green+Blue) = 4+8+64=76 (10% of max value = 765). Red value is 4 (1.95% from 255 or 5.26% from 76); Green value is 8 (3.52% from 255 or 10.53% from 76); Blue value is 64 (25.39% from 255 or 84.21% from 76); Max value from RGB is 64 - color contains mainly: blue. Hex color #040840 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040840 is #FBF7BF. Grayscale: #0C0C0C. Windows color (decimal): -16512960 or 4196356. OLE color: 4196356.

HSL color Cylindrical-coordinate representation of color #040840: hue angle of 236º degrees, saturation: 0.88, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.94%. Process color model (Four color, CMYK) of #040840 is Cyan = 0.94, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.75.

Color convert

RGB 4 8 64 -
CMYK 0.94 0.87 0 0.75
HSL 236º 0.88% 0.13% -
HSV(B) 236º 0.94% 0.25% -
XYZ 1.06 0.57 4.9 -
YUV 13.19 156.67 121.45 -
System Red Green Blue C M Y K H S L
Decimal 4 8 64 0.94 0.87 0 0.75 236 0.88 0.13
Hex 4 8 40 5E 57 0 4B EC 58 D
Octal 4 10 100 136 127 0 113 354 130 15
Binary 100 1000 1000000 1011110 1010111 0 1001011 11101100 1011000 1101

Color Harmonies of #040840

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040840

Black with #040840

Text Example


Text Example

White with #040840

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #040840; }

 p { color: rgb(4,8,64); }

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

background-color css

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

 a { background-color: rgb(4,8,64); }

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

border-color css

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

 span { border-color: rgb(4,8,64); }

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