Html Css Color HEX #040256 Midnight Blue

📋 copy color: '#040256'

red 4 ◦ green 2 ◦ blue 86

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

Shades of Midnight Blue #040256

Tints of Midnight Blue #040256

RGB

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

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

 BLUE value IS 86 (33.98% from 255) = 93.48%

R = 4.35%
G = 2.17%
B = 93.48%

CMYK

 C value IS 0.95

 M value IS 0.98

 Y value IS 0

 K value IS 0.66

RGB Variations

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

Color information

#040256 (or 0x040256) is known color: Midnight Blue. HEX triplet: 04, 02 and 56. RGB value is (4,2,86). Sum of RGB (Red+Green+Blue) = 4+2+86=92 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.35% from 92); Green value is 2 (1.17% from 255 or 2.17% from 92); Blue value is 86 (33.98% from 255 or 93.48% from 92); Max value from RGB is 86 - color contains mainly: blue. Hex color #040256 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040256 is #FBFDA9. Grayscale: #0B0B0B. Windows color (decimal): -16514474 or 5636612. OLE color: 5636612.

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

Color convert

RGB 4 2 86 -
CMYK 0.95 0.98 0 0.66
HSL 241.43º 0.95% 0.17% -
HSV(B) 241.43º 0.98% 0.34% -
XYZ 1.75 0.74 8.85 -
YUV 12.17 169.66 122.17 -
System Red Green Blue C M Y K H S L
Decimal 4 2 86 0.95 0.98 0 0.66 241.43 0.95 0.17
Hex 4 2 56 5F 62 0 42 F1 5F 11
Octal 4 2 126 137 142 0 102 361 137 21
Binary 100 10 1010110 1011111 1100010 0 1000010 11110001 1011111 10001

Color Harmonies of #040256

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #040256

Black with #040256

Text Example


Text Example

White with #040256

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #040256; }

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

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

background-color css

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

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

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

border-color css

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

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

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