COLOR #401A42

HEX: #401A42
RGB: (64,26,66)

Color info

#401A42 contains red, green and blue colors in about the same proportion. Web safe color of #401A42 is #330033 (or #303).

RGB color model

#401A42 color RGB value is (64,26,66).

  • red value is 64;
  • green value is 26;
  • blue value is 66.
RGB:
(64,26,66)
(25%,10%,26%)

RGB channels and saturation

R 64 of 255 = 25%
G 26 of 255 = 10%
B 66 of 255 = 26%

64
26
66

R + G + B ~ 20%. #401A42 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 26 + 66 = 156 (100%)
R 64 of 156 ~ 41.03%
G 26 of 156 ~ 16.67%
B 66 of 156 ~ 42.31%

%41.03
%16.67
%42.31

CMYK color model

#401A42 color CMYK value is (3,61,0,74).

  • cyan value is 3.03%
  • magenta value is 60.61%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(3,61,0,74)
C3M61Y0K74 
(3%,61%,0%,74%)
(0.03/0.61/0.00/0.74)	

CMYK percentages

%3.03
%60.61
%0
%74.12

Codes

Color #401A42 in popluar color models

401A42
RGB642666
HSL297°43.48%18.04%
HSB/HSV297°60.61%25.88%
CMYK3.03%60.61%0.00%
74.12%

Color #401A42 in popluar number systems.

HEX401A42
Decimal642666
Binary1000000110101000010
Octal10032102

Shades and tints

Shades of #401A42

#401A42
(64,26,66)
#3B183C
(59,24,60)
#361636
(54,22,54)
#311430
(49,20,48)
#2C122A
(44,18,42)
#271024
(39,16,36)
#220E1E
(34,14,30)
#1D0C18
(29,12,24)
#180A12
(24,10,18)
#13080C
(19,8,12)
#0E0606
(14,6,6)
#000000
(0,0,0)

Tints of #401A42

#401A42
(64,26,66)
#512E53
(81,46,83)
#624264
(98,66,100)
#735675
(115,86,117)
#846A86
(132,106,134)
#957E97
(149,126,151)
#A692A8
(166,146,168)
#B7A6B9
(183,166,185)
#C8BACA
(200,186,202)
#D9CEDB
(217,206,219)
#EAE2EC
(234,226,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #401A42 color. Also use rgb(64,26,66) instead hex code.

Text Font Color

.myTextColor { color: #401A42; }

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

This text font color is #401A42.


Background Color

.myBgColor { background-color: #401A42; }

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

This div background color is #401A42.


Border color

.myBorderColor { border: 1px solid #401A42; }

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

This div border color is #401A42.


Opacity

.myOpacity80 { color: #401A42; opacity: 0.8; }

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

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

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

This text has shadow with #401A42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #401A42 on black background.


Color preview on white background

This text has color #401A42 on white background.



Black color preview on #401A42 background

This text has black color on #401A42 background.


White color preview on #401A42 background

This text has white color on #401A42 background.