Html Css Color HEX #040C66 Midnight Blue

📋 copy color: '#040C66'

red 4 ◦ green 12 ◦ blue 102

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

Shades of Midnight Blue #040C66

Tints of Midnight Blue #040C66

RGB

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

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

 BLUE value IS 102 (40.23% from 255) = 86.44%

R = 3.39%
G = 10.17%
B = 86.44%

CMYK

 C value IS 0.96

 M value IS 0.88

 Y value IS 0

 K value IS 0.6

RGB Variations

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

Color information

#040C66 (or 0x040C66) is known color: Midnight Blue. HEX triplet: 04, 0C and 66. RGB value is (4,12,102). Sum of RGB (Red+Green+Blue) = 4+12+102=118 (15% of max value = 765). Red value is 4 (1.95% from 255 or 3.39% from 118); Green value is 12 (5.08% from 255 or 10.17% from 118); Blue value is 102 (40.23% from 255 or 86.44% from 118); Max value from RGB is 102 - color contains mainly: blue. Hex color #040C66 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040C66 is #FBF399. Grayscale: #131313. Windows color (decimal): -16511898 or 6687748. OLE color: 6687748.

HSL color Cylindrical-coordinate representation of color #040C66: hue angle of 235.1º degrees, saturation: 0.92, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040C66 is Cyan = 0.96, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.6.

Color convert

RGB 4 12 102 -
CMYK 0.96 0.88 0 0.6
HSL 235.1º 0.92% 0.21% -
HSV(B) 235.1º 0.96% 0.4% -
XYZ 2.58 1.25 12.68 -
YUV 19.87 174.35 116.68 -
System Red Green Blue C M Y K H S L
Decimal 4 12 102 0.96 0.88 0 0.6 235.1 0.92 0.21
Hex 4 C 66 60 58 0 3C EB 5C 15
Octal 4 14 146 140 130 0 74 353 134 25
Binary 100 1100 1100110 1100000 1011000 0 111100 11101011 1011100 10101

Color Harmonies of #040C66

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040C66

Black with #040C66

Text Example


Text Example

White with #040C66

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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