Html Css Color HEX #040CA2 New Midnight Blue

📋 copy color: '#040CA2'

red 4 ◦ green 12 ◦ blue 162

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

Shades of New Midnight Blue #040CA2

Tints of New Midnight Blue #040CA2

RGB

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

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

 BLUE value IS 162 (63.67% from 255) = 91.01%

R = 2.25%
G = 6.74%
B = 91.01%

CMYK

 C value IS 0.98

 M value IS 0.93

 Y value IS 0

 K value IS 0.36

RGB Variations

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

Color information

#040CA2 (or 0x040CA2) is known color: New Midnight Blue. HEX triplet: 04, 0C and A2. RGB value is (4,12,162). Sum of RGB (Red+Green+Blue) = 4+12+162=178 (23% of max value = 765). Red value is 4 (1.95% from 255 or 2.25% from 178); Green value is 12 (5.08% from 255 or 6.74% from 178); Blue value is 162 (63.67% from 255 or 91.01% from 178); Max value from RGB is 162 - color contains mainly: blue. Hex color #040CA2 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040CA2 is #FBF35D. Grayscale: #1A1A1A. Windows color (decimal): -16511838 or 10619908. OLE color: 10619908.

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

Color convert

RGB 4 12 162 -
CMYK 0.98 0.93 0 0.36
HSL 236.96º 0.95% 0.33% -
HSV(B) 236.96º 0.98% 0.64% -
XYZ 6.7 2.9 34.39 -
YUV 26.71 204.35 111.8 -
System Red Green Blue C M Y K H S L
Decimal 4 12 162 0.98 0.93 0 0.36 236.96 0.95 0.33
Hex 4 C A2 62 5D 0 24 ED 5F 21
Octal 4 14 242 142 135 0 44 355 137 41
Binary 100 1100 10100010 1100010 1011101 0 100100 11101101 1011111 100001

Color Harmonies of #040CA2

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040CA2

Black with #040CA2

Text Example


Text Example

White with #040CA2

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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