Html Css Color HEX #040CA5 New Midnight Blue

📋 copy color: '#040CA5'

red 4 ◦ green 12 ◦ blue 165

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

Shades of New Midnight Blue #040CA5

Tints of New Midnight Blue #040CA5

RGB

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

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

 BLUE value IS 165 (64.84% from 255) = 91.16%

R = 2.21%
G = 6.63%
B = 91.16%

CMYK

 C value IS 0.98

 M value IS 0.93

 Y value IS 0

 K value IS 0.35

RGB Variations

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

Color information

#040CA5 (or 0x040CA5) is known color: New Midnight Blue. HEX triplet: 04, 0C and A5. RGB value is (4,12,165). Sum of RGB (Red+Green+Blue) = 4+12+165=181 (23% of max value = 765). Red value is 4 (1.95% from 255 or 2.21% from 181); Green value is 12 (5.08% from 255 or 6.63% from 181); Blue value is 165 (64.84% from 255 or 91.16% from 181); Max value from RGB is 165 - color contains mainly: blue. Hex color #040CA5 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040CA5 is #FBF35A. Grayscale: #1A1A1A. Windows color (decimal): -16511835 or 10816516. OLE color: 10816516.

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

Color convert

RGB 4 12 165 -
CMYK 0.98 0.93 0 0.35
HSL 237.02º 0.95% 0.33% -
HSV(B) 237.02º 0.98% 0.65% -
XYZ 6.97 3.01 35.81 -
YUV 27.05 205.85 111.56 -
System Red Green Blue C M Y K H S L
Decimal 4 12 165 0.98 0.93 0 0.35 237.02 0.95 0.33
Hex 4 C A5 62 5D 0 23 ED 5F 21
Octal 4 14 245 142 135 0 43 355 137 41
Binary 100 1100 10100101 1100010 1011101 0 100011 11101101 1011111 100001

Color Harmonies of #040CA5

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040CA5

Black with #040CA5

Text Example


Text Example

White with #040CA5

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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