Html Css Color HEX #0402A8 New Midnight Blue

📋 copy color: '#0402A8'

red 4 ◦ green 2 ◦ blue 168

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

Shades of New Midnight Blue #0402A8

Tints of New Midnight Blue #0402A8

RGB

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

 GREEN value IS 2 (1.17% from 255) = 1.15%

 BLUE value IS 168 (66.02% from 255) = 96.55%

R = 2.3%
G = 1.15%
B = 96.55%

CMYK

 C value IS 0.98

 M value IS 0.99

 Y value IS 0

 K value IS 0.34

RGB Variations

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

Color information

#0402A8 (or 0x0402A8) is known color: New Midnight Blue. HEX triplet: 04, 02 and A8. RGB value is (4,2,168). Sum of RGB (Red+Green+Blue) = 4+2+168=174 (23% of max value = 765). Red value is 4 (1.95% from 255 or 2.30% from 174); Green value is 2 (1.17% from 255 or 1.15% from 174); Blue value is 168 (66.02% from 255 or 96.55% from 174); Max value from RGB is 168 - color contains mainly: blue. Hex color #0402A8 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #0402A8 is #FBFD57. Grayscale: #141414. Windows color (decimal): -16514392 or 11010564. OLE color: 11010564.

HSL color Cylindrical-coordinate representation of color #0402A8: hue angle of 240.72º degrees, saturation: 0.98, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.66% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #0402A8 is Cyan = 0.98, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.34.

Color convert

RGB 4 2 168 -
CMYK 0.98 0.99 0 0.34
HSL 240.72º 0.98% 0.33% -
HSV(B) 240.72º 0.99% 0.66% -
XYZ 7.14 2.9 37.23 -
YUV 21.52 210.66 115.5 -
System Red Green Blue C M Y K H S L
Decimal 4 2 168 0.98 0.99 0 0.34 240.72 0.98 0.33
Hex 4 2 A8 62 63 0 22 F1 62 21
Octal 4 2 250 142 143 0 42 361 142 41
Binary 100 10 10101000 1100010 1100011 0 100010 11110001 1100010 100001

Color Harmonies of #0402A8

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #0402A8

Black with #0402A8

Text Example


Text Example

White with #0402A8

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #0402A8; }

 p { color: rgb(4,2,168); }

 H1.HeaderClassName
 {
   color: #0402A8;
 }
 .AnyTagClassName
 {
   color: #0402A8;
 }
</style>

background-color css

<style>
 a { background-color: #0402A8; }

 a { background-color: rgb(4,2,168); }

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

border-color css

<style>
 span { border-color: #0402A8; }

 span { border-color: rgb(4,2,168); }

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