Html Css Color HEX #040F66 Midnight Blue

📋 copy color: '#040F66'

red 4 ◦ green 15 ◦ blue 102

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

Shades of Midnight Blue #040F66

Tints of Midnight Blue #040F66

RGB

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

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

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

R = 3.31%
G = 12.4%
B = 84.3%

CMYK

 C value IS 0.96

 M value IS 0.85

 Y value IS 0

 K value IS 0.6

RGB Variations

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

Color information

#040F66 (or 0x040F66) is known color: Midnight Blue. HEX triplet: 04, 0F and 66. RGB value is (4,15,102). Sum of RGB (Red+Green+Blue) = 4+15+102=121 (16% of max value = 765). Red value is 4 (1.95% from 255 or 3.31% from 121); Green value is 15 (6.25% from 255 or 12.40% from 121); Blue value is 102 (40.23% from 255 or 84.30% from 121); Max value from RGB is 102 - color contains mainly: blue. Hex color #040F66 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040F66 is #FBF099. Grayscale: #151515. Windows color (decimal): -16511130 or 6688516. OLE color: 6688516.

HSL color Cylindrical-coordinate representation of color #040F66: hue angle of 233.27º 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 #040F66 is Cyan = 0.96, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.6.

Color convert

RGB 4 15 102 -
CMYK 0.96 0.85 0 0.6
HSL 233.27º 0.92% 0.21% -
HSV(B) 233.27º 0.96% 0.4% -
XYZ 2.62 1.33 12.69 -
YUV 21.63 173.36 115.43 -
System Red Green Blue C M Y K H S L
Decimal 4 15 102 0.96 0.85 0 0.6 233.27 0.92 0.21
Hex 4 F 66 60 55 0 3C E9 5C 15
Octal 4 17 146 140 125 0 74 351 134 25
Binary 100 1111 1100110 1100000 1010101 0 111100 11101001 1011100 10101

Color Harmonies of #040F66

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040F66

Black with #040F66

Text Example


Text Example

White with #040F66

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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