Html Css Color HEX #040CB4 New Midnight Blue

📋 copy color: '#040CB4'

red 4 ◦ green 12 ◦ blue 180

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

Shades of New Midnight Blue #040CB4

Tints of New Midnight Blue #040CB4

RGB

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

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

 BLUE value IS 180 (70.7% from 255) = 91.84%

R = 2.04%
G = 6.12%
B = 91.84%

CMYK

 C value IS 0.98

 M value IS 0.93

 Y value IS 0

 K value IS 0.29

RGB Variations

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

Color information

#040CB4 (or 0x040CB4) is known color: New Midnight Blue. HEX triplet: 04, 0C and B4. RGB value is (4,12,180). Sum of RGB (Red+Green+Blue) = 4+12+180=196 (25% of max value = 765). Red value is 4 (1.95% from 255 or 2.04% from 196); Green value is 12 (5.08% from 255 or 6.12% from 196); Blue value is 180 (70.70% from 255 or 91.84% from 196); Max value from RGB is 180 - color contains mainly: blue. Hex color #040CB4 is not a web safe color. Web safe color analog (approx): #0000CC. Inversed color of #040CB4 is #FBF34B. Grayscale: #1C1C1C. Windows color (decimal): -16511820 or 11799556. OLE color: 11799556.

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

Color convert

RGB 4 12 180 -
CMYK 0.98 0.93 0 0.29
HSL 237.27º 0.96% 0.36% -
HSV(B) 237.27º 0.98% 0.71% -
XYZ 8.42 3.58 43.43 -
YUV 28.76 213.35 110.34 -
System Red Green Blue C M Y K H S L
Decimal 4 12 180 0.98 0.93 0 0.29 237.27 0.96 0.36
Hex 4 C B4 62 5D 0 1D ED 60 24
Octal 4 14 264 142 135 0 35 355 140 44
Binary 100 1100 10110100 1100010 1011101 0 11101 11101101 1100000 100100

Color Harmonies of #040CB4

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040CB4

Black with #040CB4

Text Example


Text Example

White with #040CB4

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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