COLOR #402C41

HEX: #402C41 RGB: (64,44,65)

Color info

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

RGB color model

#402C41 color RGB value is (64,44,65).

RGB: (64,44,65) (25%, 17%, 25%)

RGB channels and saturation

R 64 of 255 = 25%
G 44 of 255 = 17%
B 65 of 255 = 25%

64
44
65

R + G + B ~ 22%. #402C41 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 44 + 65 = 173 (100%)
R 64 of 173 ~ 36.99%
G 44 of 173 ~ 25.43%
B 65 of 173 ~ 37.57'%

%36.99
%25.43
%37.57

CMYK color model

#402C41 color CMYK value is (2,32,0,75).

  • cyan value is 1.54%
  • magenta value is 32.31%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK: (2,32,0,75) C2M32Y0K75 (2%,32%,0%,75%) (0.02/0.32/0.00/0.75) 

CMYK percentages

%1.54
%32.31
%0
%74.51

Codes

Color #402C41 in popluar color models

40 2C 41
RGB 64 44 65
HSL 297° 19.27% 21.37%
HSB/HSV 297° 32.31% 25.49%
CMYK 1.54% 32.31% 0.00%
74.51%

Color #402C41 in popluar number systems.

HEX 40 2C 41
Decimal 64 44 65
Binary 1000000 101100 1000001
Octal 100 54 101

Shades and tints

Shades of #402C41

#402C41
(64,44,65)
#3B283C
(59,40,60)
#362437
(54,36,55)
#312032
(49,32,50)
#2C1C2D
(44,28,45)
#271828
(39,24,40)
#221423
(34,20,35)
#1D101E
(29,16,30)
#180C19
(24,12,25)
#130814
(19,8,20)
#0E040F
(14,4,15)
#000000
(0,0,0)

Tints of #402C41

#402C41
(64,44,65)
#513F52
(81,63,82)
#625263
(98,82,99)
#736574
(115,101,116)
#847885
(132,120,133)
#958B96
(149,139,150)
#A69EA7
(166,158,167)
#B7B1B8
(183,177,184)
#C8C4C9
(200,196,201)
#D9D7DA
(217,215,218)
#EAEAEB
(234,234,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402C41; }

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

This text font color is #402C41.

Background Color

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

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

This div background color is #402C41.

Border color

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

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

This div border color is #402C41.

Opacity

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

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

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

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

This text has shadow with #402C41 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402C41.

Preview

Color preview on black background

This text has color #402C41 on black background.


Color preview on white background

This text has color #402C41 on white background.


Black color preview on #402C41 background

This text has black color on #402C41 background.


White color preview on #402C41 background

This text has white color on #402C41 background.


Related colors

Complementary color

Complementary color for #hex is #BFD3BE.


I love getcolorcode.com

Triadic colors

1 #41402C and #2C4140 with #402C41 are triadic colors.

2 #412C40 and #2C4041 with #402C41 are triadic colors.