COLOR #402C4F

HEX: #402C4F RGB: (64,44,79)

Color info

#402C4F contains red, green and blue colors in about the same proportion. Web safe color of #402C4F is #333366 (or #336).

RGB color model

#402C4F color RGB value is (64,44,79).

RGB: (64,44,79) (25%, 17%, 31%)

RGB channels and saturation

R 64 of 255 = 25%
G 44 of 255 = 17%
B 79 of 255 = 31%

64
44
79

R + G + B ~ 24%. #402C4F is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 44 + 79 = 187 (100%)
R 64 of 187 ~ 34.22%
G 44 of 187 ~ 23.53%
B 79 of 187 ~ 42.25'%

%34.22
%23.53
%42.25

CMYK color model

#402C4F color CMYK value is (19,44,0,69).

  • cyan value is 18.99%
  • magenta value is 44.30%
  • yellow value is 0.00%
  • key color value is 69.02%

CMYK: (19,44,0,69)
C19M44Y0K69 (19%, 44%, 0%, 69%)
(0.19 / 0.44 / 0.00 / 0.69)

CMYK percentages

%18.99
%44.3
%0
%69.02

Codes

Color #402C4F in popluar color models

40 2C 4F
RGB 64 44 79
HSL 274° 28.46% 24.12%
HSB/HSV 274° 44.30% 30.98%
CMYK 18.99% 44.30% 0.00%
69.02%

Color #402C4F in popluar number systems.

HEX 40 2C 4F
Decimal 64 44 79
Binary 1000000 101100 1001111
Octal 100 54 117

Shades and tints

Shades of #402C4F

#402C4F
(64,44,79)
#3B2848
(59,40,72)
#362441
(54,36,65)
#31203A
(49,32,58)
#2C1C33
(44,28,51)
#27182C
(39,24,44)
#221425
(34,20,37)
#1D101E
(29,16,30)
#180C17
(24,12,23)
#130810
(19,8,16)
#0E0409
(14,4,9)
#000000
(0,0,0)

Tints of #402C4F

#402C4F
(64,44,79)
#513F5F
(81,63,95)
#62526F
(98,82,111)
#73657F
(115,101,127)
#84788F
(132,120,143)
#958B9F
(149,139,159)
#A69EAF
(166,158,175)
#B7B1BF
(183,177,191)
#C8C4CF
(200,196,207)
#D9D7DF
(217,215,223)
#EAEAEF
(234,234,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402C4F color. Also use rgb(64,44,79) instead hex code.

Text Font Color

.myTextColor { color: #402C4F; }

<p style="color:#402C4F">This sample text font color is #402C4F.</p>

This text font color is #402C4F.

Background Color

.myBgColor { background-color: #402C4F; }

<div style="background-color:#402C4F">Inner text</div>

This div background color is #402C4F.

Border color

.myBorderColor { border: 1px solid #402C4F; }

<div style="border:3px solid #402C4F">Div</div>

This div border color is #402C4F.

Opacity

.myOpacity80 { color: #402C4F; opacity: 0.8; }

<p style="color:#402C4F;opacity:0.8;">80%</p>

Text with #402C4F color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #402C4F;}

<p style="text-shadow: 3px 3px 1px #402C4F">Text here.</p>

This text has shadow with #402C4F color.


.textShadow {text-shadow: 3px 3px 1px #402C4F', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #402C4F, 5px 5px 20px red">Text here.</p>

This text has shadow with #402C4F primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#402C4F, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#402C4F, Direction=45, Strength=4)">Text</p>

This text has shadow with #402C4F and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #402C4F;
-webkit-box-shadow: 1px 1px 3px 2px #402C4F;
box-shadow: 1px 1px 3px 2px #402C4F;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #402C4F; -webkit-box-shadow: 1px 1px 3px 2px #402C4F; box-shadow:1px 1px 3px 2px #402C4F;">
Div content here
</div>

This div box has shadow with color #402C4F.

Preview

Color preview on black background

This text has color #402C4F on black background.


Color preview on white background

This text has color #402C4F on white background.


Black color preview on #402C4F background

This text has black color on #402C4F background.


White color preview on #402C4F background

This text has white color on #402C4F background.


Related colors

Complementary color

Complementary color for #hex is #BFD3B0.


I love getcolorcode.com

Triadic colors

1 #4F402C and #2C4F40 with #402C4F are triadic colors.

2 #4F2C40 and #2C404F with #402C4F are triadic colors.