COLOR #402C47

HEX: #402C47 RGB: (64,44,71)

Color info

#402C47 contains red, green and blue colors in about the same proportion. Web safe color of #402C47 is #333333 (or #333).

RGB color model

#402C47 color RGB value is (64,44,71).

RGB: (64,44,71) (25%, 17%, 28%)

RGB channels and saturation

R 64 of 255 = 25%
G 44 of 255 = 17%
B 71 of 255 = 28%

64
44
71

R + G + B ~ 23%. #402C47 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 44 + 71 = 179 (100%)
R 64 of 179 ~ 35.75%
G 44 of 179 ~ 24.58%
B 71 of 179 ~ 39.66'%

%35.75
%24.58
%39.66

CMYK color model

#402C47 color CMYK value is (10,38,0,72).

  • cyan value is 9.86%
  • magenta value is 38.03%
  • yellow value is 0.00%
  • key color value is 72.16%

CMYK: (10,38,0,72)
C10M38Y0K72 (10%, 38%, 0%, 72%)
(0.10 / 0.38 / 0.00 / 0.72)

CMYK percentages

%9.86
%38.03
%0
%72.16

Codes

Color #402C47 in popluar color models

40 2C 47
RGB 64 44 71
HSL 284° 23.48% 22.55%
HSB/HSV 284° 38.03% 27.84%
CMYK 9.86% 38.03% 0.00%
72.16%

Color #402C47 in popluar number systems.

HEX 40 2C 47
Decimal 64 44 71
Binary 1000000 101100 1000111
Octal 100 54 107

Shades and tints

Shades of #402C47

#402C47
(64,44,71)
#3B2841
(59,40,65)
#36243B
(54,36,59)
#312035
(49,32,53)
#2C1C2F
(44,28,47)
#271829
(39,24,41)
#221423
(34,20,35)
#1D101D
(29,16,29)
#180C17
(24,12,23)
#130811
(19,8,17)
#0E040B
(14,4,11)
#000000
(0,0,0)

Tints of #402C47

#402C47
(64,44,71)
#513F57
(81,63,87)
#625267
(98,82,103)
#736577
(115,101,119)
#847887
(132,120,135)
#958B97
(149,139,151)
#A69EA7
(166,158,167)
#B7B1B7
(183,177,183)
#C8C4C7
(200,196,199)
#D9D7D7
(217,215,215)
#EAEAE7
(234,234,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402C47; }

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

This text font color is #402C47.

Background Color

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

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

This div background color is #402C47.

Border color

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

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

This div border color is #402C47.

Opacity

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

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

Text with #402C47 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 #402C47;}

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

This text has shadow with #402C47 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402C47.

Preview

Color preview on black background

This text has color #402C47 on black background.


Color preview on white background

This text has color #402C47 on white background.


Black color preview on #402C47 background

This text has black color on #402C47 background.


White color preview on #402C47 background

This text has white color on #402C47 background.


Related colors

Complementary color

Complementary color for #hex is #BFD3B8.


I love getcolorcode.com

Triadic colors

1 #47402C and #2C4740 with #402C47 are triadic colors.

2 #472C40 and #2C4047 with #402C47 are triadic colors.