COLOR #402141

HEX: #402141
RGB: (64,33,65)

Color info

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

RGB color model

#402141 color RGB value is (64,33,65).

  • red value is 64;
  • green value is 33;
  • blue value is 65.
RGB:
(64,33,65)
(25%,13%,25%)

RGB channels and saturation

R 64 of 255 = 25%
G 33 of 255 = 13%
B 65 of 255 = 25%

64
33
65

R + G + B ~ 21%. #402141 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 33 + 65 = 162 (100%)
R 64 of 162 ~ 39.51%
G 33 of 162 ~ 20.37%
B 65 of 162 ~ 40.12%

%39.51
%20.37
%40.12

CMYK color model

#402141 color CMYK value is (2,49,0,75).

  • cyan value is 1.54%
  • magenta value is 49.23%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(2,49,0,75)
C2M49Y0K75 
(2%,49%,0%,75%)
(0.02/0.49/0.00/0.75)	

CMYK percentages

%1.54
%49.23
%0
%74.51

Codes

Color #402141 in popluar color models

402141
RGB643365
HSL298°32.65%19.22%
HSB/HSV298°49.23%25.49%
CMYK1.54%49.23%0.00%
74.51%

Color #402141 in popluar number systems.

HEX402141
Decimal643365
Binary10000001000011000001
Octal10041101

Shades and tints

Shades of #402141

#402141
(64,33,65)
#3B1E3C
(59,30,60)
#361B37
(54,27,55)
#311832
(49,24,50)
#2C152D
(44,21,45)
#271228
(39,18,40)
#220F23
(34,15,35)
#1D0C1E
(29,12,30)
#180919
(24,9,25)
#130614
(19,6,20)
#0E030F
(14,3,15)
#000000
(0,0,0)

Tints of #402141

#402141
(64,33,65)
#513552
(81,53,82)
#624963
(98,73,99)
#735D74
(115,93,116)
#847185
(132,113,133)
#958596
(149,133,150)
#A699A7
(166,153,167)
#B7ADB8
(183,173,184)
#C8C1C9
(200,193,201)
#D9D5DA
(217,213,218)
#EAE9EB
(234,233,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402141; }

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

This text font color is #402141.


Background Color

.myBgColor { background-color: #402141; }

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

This div background color is #402141.


Border color

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

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

This div border color is #402141.


Opacity

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

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

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

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

This text has shadow with #402141 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402141 on black background.


Color preview on white background

This text has color #402141 on white background.



Black color preview on #402141 background

This text has black color on #402141 background.


White color preview on #402141 background

This text has white color on #402141 background.