Html Css Color HEX #040F98 New Midnight Blue

📋 copy color: '#040F98'

red 4 ◦ green 15 ◦ blue 152

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

Shades of New Midnight Blue #040F98

Tints of New Midnight Blue #040F98

RGB

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

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

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

R = 2.34%
G = 8.77%
B = 88.89%

CMYK

 C value IS 0.97

 M value IS 0.90

 Y value IS 0

 K value IS 0.40

RGB Variations

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

Color information

#040F98 (or 0x040F98) is known color: New Midnight Blue. HEX triplet: 04, 0F and 98. RGB value is (4,15,152). Sum of RGB (Red+Green+Blue) = 4+15+152=171 (22% of max value = 765). Red value is 4 (1.95% from 255 or 2.34% from 171); Green value is 15 (6.25% from 255 or 8.77% from 171); Blue value is 152 (59.77% from 255 or 88.89% from 171); Max value from RGB is 152 - color contains mainly: blue. Hex color #040F98 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040F98 is #FBF067. Grayscale: #1A1A1A. Windows color (decimal): -16511080 or 9965316. OLE color: 9965316.

HSL color Cylindrical-coordinate representation of color #040F98: hue angle of 235.54º 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 #040F98 is Cyan = 0.97, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.40.

Color convert

RGB 4 15 152 -
CMYK 0.97 0.90 0 0.40
HSL 235.54º 0.95% 0.31% -
HSV(B) 235.54º 0.97% 0.6% -
XYZ 5.89 2.63 29.9 -
YUV 27.33 198.36 111.36 -
System Red Green Blue C M Y K H S L
Decimal 4 15 152 0.97 0.90 0 0.40 235.54 0.95 0.31
Hex 4 F 98 61 5A 0 28 EC 5F 1F
Octal 4 17 230 141 132 0 50 354 137 37
Binary 100 1111 10011000 1100001 1011010 0 101000 11101100 1011111 11111

Color Harmonies of #040F98

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040F98

Black with #040F98

Text Example


Text Example

White with #040F98

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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