Html Css Color HEX #040F6B Midnight Blue

📋 copy color: '#040F6B'

red 4 ◦ green 15 ◦ blue 107

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

Shades of Midnight Blue #040F6B

Tints of Midnight Blue #040F6B

RGB

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

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

 BLUE value IS 107 (42.19% from 255) = 84.92%

R = 3.17%
G = 11.9%
B = 84.92%

CMYK

 C value IS 0.96

 M value IS 0.86

 Y value IS 0

 K value IS 0.58

RGB Variations

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

Color information

#040F6B (or 0x040F6B) is known color: Midnight Blue. HEX triplet: 04, 0F and 6B. RGB value is (4,15,107). Sum of RGB (Red+Green+Blue) = 4+15+107=126 (16% of max value = 765). Red value is 4 (1.95% from 255 or 3.17% from 126); Green value is 15 (6.25% from 255 or 11.90% from 126); Blue value is 107 (42.19% from 255 or 84.92% from 126); Max value from RGB is 107 - color contains mainly: blue. Hex color #040F6B is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040F6B is #FBF094. Grayscale: #151515. Windows color (decimal): -16511125 or 7016196. OLE color: 7016196.

HSL color Cylindrical-coordinate representation of color #040F6B: hue angle of 233.59º degrees, saturation: 0.93, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.96%. Process color model (Four color, CMYK) of #040F6B is Cyan = 0.96, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.58.

Color convert

RGB 4 15 107 -
CMYK 0.96 0.86 0 0.58
HSL 233.59º 0.93% 0.22% -
HSV(B) 233.59º 0.96% 0.42% -
XYZ 2.87 1.43 14.03 -
YUV 22.2 175.86 115.02 -
System Red Green Blue C M Y K H S L
Decimal 4 15 107 0.96 0.86 0 0.58 233.59 0.93 0.22
Hex 4 F 6B 60 56 0 3A EA 5D 16
Octal 4 17 153 140 126 0 72 352 135 26
Binary 100 1111 1101011 1100000 1010110 0 111010 11101010 1011101 10110

Color Harmonies of #040F6B

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040F6B

Black with #040F6B

Text Example


Text Example

White with #040F6B

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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