Html Css Color HEX #040F40 Midnight Express

📋 copy color: '#040F40'

red 4 ◦ green 15 ◦ blue 64

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

Shades of Midnight Express #040F40

Tints of Midnight Express #040F40

RGB

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

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

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

R = 4.82%
G = 18.07%
B = 77.11%

CMYK

 C value IS 0.94

 M value IS 0.77

 Y value IS 0

 K value IS 0.75

RGB Variations

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

Color information

#040F40 (or 0x040F40) is known color: Midnight Express. HEX triplet: 04, 0F and 40. RGB value is (4,15,64). Sum of RGB (Red+Green+Blue) = 4+15+64=83 (10% of max value = 765). Red value is 4 (1.95% from 255 or 4.82% from 83); Green value is 15 (6.25% from 255 or 18.07% from 83); Blue value is 64 (25.39% from 255 or 77.11% from 83); Max value from RGB is 64 - color contains mainly: blue. Hex color #040F40 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040F40 is #FBF0BF. Grayscale: #111111. Windows color (decimal): -16511168 or 4198148. OLE color: 4198148.

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

Color convert

RGB 4 15 64 -
CMYK 0.94 0.77 0 0.75
HSL 229º 0.88% 0.13% -
HSV(B) 229º 0.94% 0.25% -
XYZ 1.15 0.74 4.93 -
YUV 17.3 154.36 118.52 -
System Red Green Blue C M Y K H S L
Decimal 4 15 64 0.94 0.77 0 0.75 229 0.88 0.13
Hex 4 F 40 5E 4D 0 4B E5 58 D
Octal 4 17 100 136 115 0 113 345 130 15
Binary 100 1111 1000000 1011110 1001101 0 1001011 11100101 1011000 1101

Color Harmonies of #040F40

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040F40

Black with #040F40

Text Example


Text Example

White with #040F40

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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