Html Css Color HEX #040158 Midnight Blue

📋 copy color: '#040158'

red 4 ◦ green 1 ◦ blue 88

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

Shades of Midnight Blue #040158

Tints of Midnight Blue #040158

RGB

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

 GREEN value IS 1 (0.78% from 255) = 1.08%

 BLUE value IS 88 (34.77% from 255) = 94.62%

R = 4.3%
G = 1.08%
B = 94.62%

CMYK

 C value IS 0.95

 M value IS 0.99

 Y value IS 0

 K value IS 0.65

RGB Variations

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

Color information

#040158 (or 0x040158) is known color: Midnight Blue. HEX triplet: 04, 01 and 58. RGB value is (4,1,88). Sum of RGB (Red+Green+Blue) = 4+1+88=93 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.30% from 93); Green value is 1 (0.78% from 255 or 1.08% from 93); Blue value is 88 (34.77% from 255 or 94.62% from 93); Max value from RGB is 88 - color contains mainly: blue. Hex color #040158 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040158 is #FBFEA7. Grayscale: #0B0B0B. Windows color (decimal): -16514728 or 5767428. OLE color: 5767428.

HSL color Cylindrical-coordinate representation of color #040158: hue angle of 242.07º degrees, saturation: 0.98, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.35% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #040158 is Cyan = 0.95, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.65.

Color convert

RGB 4 1 88 -
CMYK 0.95 0.99 0 0.65
HSL 242.07º 0.98% 0.17% -
HSV(B) 242.07º 0.99% 0.35% -
XYZ 1.82 0.75 9.28 -
YUV 11.82 170.99 122.43 -
System Red Green Blue C M Y K H S L
Decimal 4 1 88 0.95 0.99 0 0.65 242.07 0.98 0.17
Hex 4 1 58 5F 63 0 41 F2 62 11
Octal 4 1 130 137 143 0 101 362 142 21
Binary 100 1 1011000 1011111 1100011 0 1000001 11110010 1100010 10001

Color Harmonies of #040158

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040158

Black with #040158

Text Example


Text Example

White with #040158

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #040158; }

 p { color: rgb(4,1,88); }

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

background-color css

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

 a { background-color: rgb(4,1,88); }

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

border-color css

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

 span { border-color: rgb(4,1,88); }

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