Html Css Color HEX #402040 Mardi Gras

📋 copy color: '#402040'

red 64 ◦ green 32 ◦ blue 64

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

Shades of Mardi Gras #402040

Tints of Mardi Gras #402040

RGB

 RED value IS 64 (25.39% from 255) = 40%

 GREEN value IS 32 (12.89% from 255) = 20%

 BLUE value IS 64 (25.39% from 255) = 40%

R = 40%
G = 20%
B = 40%

CMYK

 C value IS 0

 M value IS 0.50

 Y value IS 0

 K value IS 0.75

RGB Variations

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

Color information

#402040 (or 0x402040) is known color: Mardi Gras. HEX triplet: 40, 20 and 40. RGB value is (64,32,64). Sum of RGB (Red+Green+Blue) = 64+32+64=160 (21% of max value = 765). Red value is 64 (25.39% from 255 or 40% from 160); Green value is 32 (12.89% from 255 or 20% from 160); Blue value is 64 (25.39% from 255 or 40% from 160); Max value from RGB is 64 - color contains mainly: red, blue. Hex color #402040 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #402040 is #BFDFBF. Grayscale: #2D2D2D. Windows color (decimal): -12574656 or 4202560. OLE color: 4202560.

HSL color Cylindrical-coordinate representation of color #402040: hue angle of 300º degrees, saturation: 0.33, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.5%. Process color model (Four color, CMYK) of #402040 is Cyan = 0, Magento = 0.50, Yellow = 0 and Black (K on CMYK) = 0.75.

Color convert

RGB 64 32 64 -
CMYK 0 0.50 0 0.75
HSL 300º 0.33% 0.19% -
HSV(B) 300º 0.5% 0.25% -
XYZ 3.56 2.49 5.14 -
YUV 45.22 138.6 141.4 -
System Red Green Blue C M Y K H S L
Decimal 64 32 64 0 0.50 0 0.75 300 0.33 0.19
Hex 40 20 40 0 32 0 4B 12C 21 13
Octal 100 40 100 0 62 0 113 454 41 23
Binary 1000000 100000 1000000 0 110010 0 1001011 100101100 100001 10011

Color Harmonies of #402040

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #402040

Black with #402040

Text Example


Text Example

White with #402040

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #402040; }

 p { color: rgb(64,32,64); }

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

background-color css

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

 a { background-color: rgb(64,32,64); }

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

border-color css

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

 span { border-color: rgb(64,32,64); }

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