Html Css Color HEX #040FA2 New Midnight Blue

📋 copy color: '#040FA2'

red 4 ◦ green 15 ◦ blue 162

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

Shades of New Midnight Blue #040FA2

Tints of New Midnight Blue #040FA2

RGB

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

 GREEN value IS 15 (6.25% from 255) = 8.29%

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

R = 2.21%
G = 8.29%
B = 89.5%

CMYK

 C value IS 0.98

 M value IS 0.91

 Y value IS 0

 K value IS 0.36

RGB Variations

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

Color information

#040FA2 (or 0x040FA2) is known color: New Midnight Blue. HEX triplet: 04, 0F and A2. RGB value is (4,15,162). Sum of RGB (Red+Green+Blue) = 4+15+162=181 (23% of max value = 765). Red value is 4 (1.95% from 255 or 2.21% from 181); Green value is 15 (6.25% from 255 or 8.29% from 181); Blue value is 162 (63.67% from 255 or 89.50% from 181); Max value from RGB is 162 - color contains mainly: blue. Hex color #040FA2 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040FA2 is #FBF05D. Grayscale: #1B1B1B. Windows color (decimal): -16511070 or 10620676. OLE color: 10620676.

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

Color convert

RGB 4 15 162 -
CMYK 0.98 0.91 0 0.36
HSL 235.82º 0.95% 0.33% -
HSV(B) 235.82º 0.98% 0.64% -
XYZ 6.74 2.98 34.4 -
YUV 28.47 203.36 110.55 -
System Red Green Blue C M Y K H S L
Decimal 4 15 162 0.98 0.91 0 0.36 235.82 0.95 0.33
Hex 4 F A2 62 5B 0 24 EC 5F 21
Octal 4 17 242 142 133 0 44 354 137 41
Binary 100 1111 10100010 1100010 1011011 0 100100 11101100 1011111 100001

Color Harmonies of #040FA2

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040FA2

Black with #040FA2

Text Example


Text Example

White with #040FA2

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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