Html Css Color HEX #402140 Mardi Gras

📋 copy color: '#402140'

red 64 ◦ green 33 ◦ blue 64

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

Shades of Mardi Gras #402140

Tints of Mardi Gras #402140

RGB

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

 GREEN value IS 33 (13.28% from 255) = 20.5%

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

R = 39.75%
G = 20.5%
B = 39.75%

CMYK

 C value IS 0

 M value IS 0.48

 Y value IS 0

 K value IS 0.75

RGB Variations

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

Color information

#402140 (or 0x402140) is known color: Mardi Gras. HEX triplet: 40, 21 and 40. RGB value is (64,33,64). Sum of RGB (Red+Green+Blue) = 64+33+64=161 (21% of max value = 765). Red value is 64 (25.39% from 255 or 39.75% from 161); Green value is 33 (13.28% from 255 or 20.50% from 161); Blue value is 64 (25.39% from 255 or 39.75% from 161); Max value from RGB is 64 - color contains mainly: red, blue. Hex color #402140 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #402140 is #BFDEBF. Grayscale: #2D2D2D. Windows color (decimal): -12574400 or 4202816. OLE color: 4202816.

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

Color convert

RGB 64 33 64 -
CMYK 0 0.48 0 0.75
HSL 300º 0.32% 0.19% -
HSV(B) 300º 0.48% 0.25% -
XYZ 3.58 2.55 5.15 -
YUV 45.8 138.27 140.98 -
System Red Green Blue C M Y K H S L
Decimal 64 33 64 0 0.48 0 0.75 300 0.32 0.19
Hex 40 21 40 0 30 0 4B 12C 20 13
Octal 100 41 100 0 60 0 113 454 40 23
Binary 1000000 100001 1000000 0 110000 0 1001011 100101100 100000 10011

Color Harmonies of #402140

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #402140

Black with #402140

Text Example


Text Example

White with #402140

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #402140; }

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

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

background-color css

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

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

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

border-color css

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

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

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