COLOR #402950

HEX: #402950 RGB: (64,41,80)

Color info

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

RGB color model

#402950 color RGB value is (64,41,80).

RGB: (64,41,80) (25%, 16%, 31%)

RGB channels and saturation

R 64 of 255 = 25%
G 41 of 255 = 16%
B 80 of 255 = 31%

64
41
80

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

Portions of RGB colors in percentages

R + G + B = 64 + 41 + 80 = 185 (100%)
R 64 of 185 ~ 34.59%
G 41 of 185 ~ 22.16%
B 80 of 185 ~ 43.24'%

%34.59
%22.16
%43.24

CMYK color model

#402950 color CMYK value is (20,49,0,69).

  • cyan value is 20.00%
  • magenta value is 48.75%
  • yellow value is 0.00%
  • key color value is 68.63%

CMYK: (20,49,0,69)
C20M49Y0K69 (20%, 49%, 0%, 69%)
(0.20 / 0.49 / 0.00 / 0.69)

CMYK percentages

%20
%48.75
%0
%68.63

Codes

Color #402950 in popluar color models

40 29 50
RGB 64 41 80
HSL 275° 32.23% 23.73%
HSB/HSV 275° 48.75% 31.37%
CMYK 20.00% 48.75% 0.00%
68.63%

Color #402950 in popluar number systems.

HEX 40 29 50
Decimal 64 41 80
Binary 1000000 101001 1010000
Octal 100 51 120

Shades and tints

Shades of #402950

#402950
(64,41,80)
#3B2649
(59,38,73)
#362342
(54,35,66)
#31203B
(49,32,59)
#2C1D34
(44,29,52)
#271A2D
(39,26,45)
#221726
(34,23,38)
#1D141F
(29,20,31)
#181118
(24,17,24)
#130E11
(19,14,17)
#0E0B0A
(14,11,10)
#000000
(0,0,0)

Tints of #402950

#402950
(64,41,80)
#513C5F
(81,60,95)
#624F6E
(98,79,110)
#73627D
(115,98,125)
#84758C
(132,117,140)
#95889B
(149,136,155)
#A69BAA
(166,155,170)
#B7AEB9
(183,174,185)
#C8C1C8
(200,193,200)
#D9D4D7
(217,212,215)
#EAE7E6
(234,231,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402950 color. Also use rgb(64,41,80) instead hex code.

Text Font Color

.myTextColor { color: #402950; }

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

This text font color is #402950.

Background Color

.myBgColor { background-color: #402950; }

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

This div background color is #402950.

Border color

.myBorderColor { border: 1px solid #402950; }

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

This div border color is #402950.

Opacity

.myOpacity80 { color: #402950; opacity: 0.8; }

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

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

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

This text has shadow with #402950 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402950.

Preview

Color preview on black background

This text has color #402950 on black background.


Color preview on white background

This text has color #402950 on white background.


Black color preview on #402950 background

This text has black color on #402950 background.


White color preview on #402950 background

This text has white color on #402950 background.


Related colors

Complementary color

Complementary color for #hex is #BFD6AF.


I love getcolorcode.com

Triadic colors

1 #504029 and #295040 with #402950 are triadic colors.

2 #502940 and #294050 with #402950 are triadic colors.