Html Css Color HEX #040C38 Midnight Express

📋 copy color: '#040C38'

red 4 ◦ green 12 ◦ blue 56

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

Shades of Midnight Express #040C38

Tints of Midnight Express #040C38

RGB

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

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

 BLUE value IS 56 (22.27% from 255) = 77.78%

R = 5.56%
G = 16.67%
B = 77.78%

CMYK

 C value IS 0.93

 M value IS 0.79

 Y value IS 0

 K value IS 0.78

RGB Variations

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

Color information

#040C38 (or 0x040C38) is known color: Midnight Express. HEX triplet: 04, 0C and 38. RGB value is (4,12,56). Sum of RGB (Red+Green+Blue) = 4+12+56=72 (9% of max value = 765). Red value is 4 (1.95% from 255 or 5.56% from 72); Green value is 12 (5.08% from 255 or 16.67% from 72); Blue value is 56 (22.27% from 255 or 77.78% from 72); Max value from RGB is 56 - color contains mainly: blue. Hex color #040C38 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040C38 is #FBF3C7. Grayscale: #0E0E0E. Windows color (decimal): -16511944 or 3673092. OLE color: 3673092.

HSL color Cylindrical-coordinate representation of color #040C38: hue angle of 230.77º degrees, saturation: 0.87, lightness: 0.12%. HSV value (or HSB Brightness) of color is 0.22% and HSV saturation: 0.93%. Process color model (Four color, CMYK) of #040C38 is Cyan = 0.93, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.78.

Color convert

RGB 4 12 56 -
CMYK 0.93 0.79 0 0.78
HSL 230.77º 0.87% 0.12% -
HSV(B) 230.77º 0.93% 0.22% -
XYZ 0.9 0.57 3.81 -
YUV 14.62 151.35 120.42 -
System Red Green Blue C M Y K H S L
Decimal 4 12 56 0.93 0.79 0 0.78 230.77 0.87 0.12
Hex 4 C 38 5D 4F 0 4E E7 57 C
Octal 4 14 70 135 117 0 116 347 127 14
Binary 100 1100 111000 1011101 1001111 0 1001110 11100111 1010111 1100

Color Harmonies of #040C38

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040C38

Black with #040C38

Text Example


Text Example

White with #040C38

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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