Html Css Color HEX #040248 Midnight Blue

📋 copy color: '#040248'

red 4 ◦ green 2 ◦ blue 72

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

Shades of Midnight Blue #040248

Tints of Midnight Blue #040248

RGB

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

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

 BLUE value IS 72 (28.52% from 255) = 92.31%

R = 5.13%
G = 2.56%
B = 92.31%

CMYK

 C value IS 0.94

 M value IS 0.97

 Y value IS 0

 K value IS 0.72

RGB Variations

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

Color information

#040248 (or 0x040248) is known color: Midnight Blue. HEX triplet: 04, 02 and 48. RGB value is (4,2,72). Sum of RGB (Red+Green+Blue) = 4+2+72=78 (10% of max value = 765). Red value is 4 (1.95% from 255 or 5.13% from 78); Green value is 2 (1.17% from 255 or 2.56% from 78); Blue value is 72 (28.52% from 255 or 92.31% from 78); Max value from RGB is 72 - color contains mainly: blue. Hex color #040248 is not a web safe color. Web safe color analog (approx): #000033. Inversed color of #040248 is #FBFDB7. Grayscale: #0A0A0A. Windows color (decimal): -16514488 or 4719108. OLE color: 4719108.

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

Color convert

RGB 4 2 72 -
CMYK 0.94 0.97 0 0.72
HSL 241.71º 0.95% 0.15% -
HSV(B) 241.71º 0.97% 0.28% -
XYZ 1.24 0.54 6.17 -
YUV 10.58 162.66 123.31 -
System Red Green Blue C M Y K H S L
Decimal 4 2 72 0.94 0.97 0 0.72 241.71 0.95 0.15
Hex 4 2 48 5E 61 0 48 F2 5F F
Octal 4 2 110 136 141 0 110 362 137 17
Binary 100 10 1001000 1011110 1100001 0 1001000 11110010 1011111 1111

Color Harmonies of #040248

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040248

Black with #040248

Text Example


Text Example

White with #040248

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #040248; }

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

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

background-color css

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

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

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

border-color css

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

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

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