Html Css Color HEX #040CAF New Midnight Blue

📋 copy color: '#040CAF'

red 4 ◦ green 12 ◦ blue 175

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

Shades of New Midnight Blue #040CAF

Tints of New Midnight Blue #040CAF

RGB

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

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

 BLUE value IS 175 (68.75% from 255) = 91.62%

R = 2.09%
G = 6.28%
B = 91.62%

CMYK

 C value IS 0.98

 M value IS 0.93

 Y value IS 0

 K value IS 0.31

RGB Variations

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

Color information

#040CAF (or 0x040CAF) is known color: New Midnight Blue. HEX triplet: 04, 0C and AF. RGB value is (4,12,175). Sum of RGB (Red+Green+Blue) = 4+12+175=191 (25% of max value = 765). Red value is 4 (1.95% from 255 or 2.09% from 191); Green value is 12 (5.08% from 255 or 6.28% from 191); Blue value is 175 (68.75% from 255 or 91.62% from 191); Max value from RGB is 175 - color contains mainly: blue. Hex color #040CAF is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040CAF is #FBF350. Grayscale: #1B1B1B. Windows color (decimal): -16511825 or 11471876. OLE color: 11471876.

HSL color Cylindrical-coordinate representation of color #040CAF: hue angle of 237.19º degrees, saturation: 0.96, lightness: 0.35%. HSV value (or HSB Brightness) of color is 0.69% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040CAF is Cyan = 0.98, Magento = 0.93, Yellow = 0 and Black (K on CMYK) = 0.31.

Color convert

RGB 4 12 175 -
CMYK 0.98 0.93 0 0.31
HSL 237.19º 0.96% 0.35% -
HSV(B) 237.19º 0.98% 0.69% -
XYZ 7.92 3.38 40.79 -
YUV 28.19 210.85 110.75 -
System Red Green Blue C M Y K H S L
Decimal 4 12 175 0.98 0.93 0 0.31 237.19 0.96 0.35
Hex 4 C AF 62 5D 0 1F ED 60 23
Octal 4 14 257 142 135 0 37 355 140 43
Binary 100 1100 10101111 1100010 1011101 0 11111 11101101 1100000 100011

Color Harmonies of #040CAF

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040CAF

Black with #040CAF

Text Example


Text Example

White with #040CAF

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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