Html Css Color HEX #040998 New Midnight Blue

📋 copy color: '#040998'

red 4 ◦ green 9 ◦ blue 152

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

Shades of New Midnight Blue #040998

Tints of New Midnight Blue #040998

RGB

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

 GREEN value IS 9 (3.91% from 255) = 5.45%

 BLUE value IS 152 (59.77% from 255) = 92.12%

R = 2.42%
G = 5.45%
B = 92.12%

CMYK

 C value IS 0.97

 M value IS 0.94

 Y value IS 0

 K value IS 0.40

RGB Variations

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

Color information

#040998 (or 0x040998) is known color: New Midnight Blue. HEX triplet: 04, 09 and 98. RGB value is (4,9,152). Sum of RGB (Red+Green+Blue) = 4+9+152=165 (21% of max value = 765). Red value is 4 (1.95% from 255 or 2.42% from 165); Green value is 9 (3.91% from 255 or 5.45% from 165); Blue value is 152 (59.77% from 255 or 92.12% from 165); Max value from RGB is 152 - color contains mainly: blue. Hex color #040998 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040998 is #FBF667. Grayscale: #171717. Windows color (decimal): -16512616 or 9963780. OLE color: 9963780.

HSL color Cylindrical-coordinate representation of color #040998: hue angle of 237.97º degrees, saturation: 0.95, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040998 is Cyan = 0.97, Magento = 0.94, Yellow = 0 and Black (K on CMYK) = 0.40.

Color convert

RGB 4 9 152 -
CMYK 0.97 0.94 0 0.40
HSL 237.97º 0.95% 0.31% -
HSV(B) 237.97º 0.97% 0.6% -
XYZ 5.82 2.49 29.88 -
YUV 23.81 200.34 113.87 -
System Red Green Blue C M Y K H S L
Decimal 4 9 152 0.97 0.94 0 0.40 237.97 0.95 0.31
Hex 4 9 98 61 5E 0 28 EE 5F 1F
Octal 4 11 230 141 136 0 50 356 137 37
Binary 100 1001 10011000 1100001 1011110 0 101000 11101110 1011111 11111

Color Harmonies of #040998

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040998

Black with #040998

Text Example


Text Example

White with #040998

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #040998; }

 p { color: rgb(4,9,152); }

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

background-color css

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

 a { background-color: rgb(4,9,152); }

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

border-color css

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

 span { border-color: rgb(4,9,152); }

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