Html Css Color HEX #040DA2 New Midnight Blue

📋 copy color: '#040DA2'

red 4 ◦ green 13 ◦ blue 162

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

Shades of New Midnight Blue #040DA2

Tints of New Midnight Blue #040DA2

RGB

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

 GREEN value IS 13 (5.47% from 255) = 7.26%

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

R = 2.23%
G = 7.26%
B = 90.5%

CMYK

 C value IS 0.98

 M value IS 0.92

 Y value IS 0

 K value IS 0.36

RGB Variations

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

Color information

#040DA2 (or 0x040DA2) is known color: New Midnight Blue. HEX triplet: 04, 0D and A2. RGB value is (4,13,162). Sum of RGB (Red+Green+Blue) = 4+13+162=179 (23% of max value = 765). Red value is 4 (1.95% from 255 or 2.23% from 179); Green value is 13 (5.47% from 255 or 7.26% from 179); Blue value is 162 (63.67% from 255 or 90.50% from 179); Max value from RGB is 162 - color contains mainly: blue. Hex color #040DA2 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040DA2 is #FBF25D. Grayscale: #1A1A1A. Windows color (decimal): -16511582 or 10620164. OLE color: 10620164.

HSL color Cylindrical-coordinate representation of color #040DA2: hue angle of 236.58º 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 #040DA2 is Cyan = 0.98, Magento = 0.92, Yellow = 0 and Black (K on CMYK) = 0.36.

Color convert

RGB 4 13 162 -
CMYK 0.98 0.92 0 0.36
HSL 236.58º 0.95% 0.33% -
HSV(B) 236.58º 0.98% 0.64% -
XYZ 6.72 2.92 34.39 -
YUV 27.3 204.02 111.38 -
System Red Green Blue C M Y K H S L
Decimal 4 13 162 0.98 0.92 0 0.36 236.58 0.95 0.33
Hex 4 D A2 62 5C 0 24 ED 5F 21
Octal 4 15 242 142 134 0 44 355 137 41
Binary 100 1101 10100010 1100010 1011100 0 100100 11101101 1011111 100001

Color Harmonies of #040DA2

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040DA2

Black with #040DA2

Text Example


Text Example

White with #040DA2

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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