Html Css Color HEX #040C2E Midnight Express

📋 copy color: '#040C2E'

red 4 ◦ green 12 ◦ blue 46

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

Shades of Midnight Express #040C2E

Tints of Midnight Express #040C2E

RGB

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

 GREEN value IS 12 (5.08% from 255) = 19.35%

 BLUE value IS 46 (18.36% from 255) = 74.19%

R = 6.45%
G = 19.35%
B = 74.19%

CMYK

 C value IS 0.91

 M value IS 0.74

 Y value IS 0

 K value IS 0.82

RGB Variations

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

Color information

#040C2E (or 0x040C2E) is known color: Midnight Express. HEX triplet: 04, 0C and 2E. RGB value is (4,12,46). Sum of RGB (Red+Green+Blue) = 4+12+46=62 (8% of max value = 765). Red value is 4 (1.95% from 255 or 6.45% from 62); Green value is 12 (5.08% from 255 or 19.35% from 62); Blue value is 46 (18.36% from 255 or 74.19% from 62); Max value from RGB is 46 - color contains mainly: blue. Hex color #040C2E is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040C2E is #FBF3D1. Grayscale: #0D0D0D. Windows color (decimal): -16511954 or 3017732. OLE color: 3017732.

HSL color Cylindrical-coordinate representation of color #040C2E: hue angle of 228.57º degrees, saturation: 0.84, lightness: 0.1%. HSV value (or HSB Brightness) of color is 0.18% and HSV saturation: 0.91%. Process color model (Four color, CMYK) of #040C2E is Cyan = 0.91, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.82.

Color convert

RGB 4 12 46 -
CMYK 0.91 0.74 0 0.82
HSL 228.57º 0.84% 0.1% -
HSV(B) 228.57º 0.91% 0.18% -
XYZ 0.67 0.49 2.64 -
YUV 13.48 146.35 121.24 -
System Red Green Blue C M Y K H S L
Decimal 4 12 46 0.91 0.74 0 0.82 228.57 0.84 0.1
Hex 4 C 2E 5B 4A 0 52 E5 54 A
Octal 4 14 56 133 112 0 122 345 124 12
Binary 100 1100 101110 1011011 1001010 0 1010010 11100101 1010100 1010

Color Harmonies of #040C2E

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040C2E

Black with #040C2E

Text Example


Text Example

White with #040C2E

Text Example


Text Example

HTML Codes & Css Web design

color css

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

 p { color: rgb(4,12,46); }

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

background-color css

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

 a { background-color: rgb(4,12,46); }

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

border-color css

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

 span { border-color: rgb(4,12,46); }

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