COLOR #4A2A5B

HEX: #4A2A5B
RGB: (74,42,91)

Color info

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

RGB color model

#4A2A5B color RGB value is (74,42,91).

  • red value is 74;
  • green value is 42;
  • blue value is 91.
RGB:
(74,42,91)
(29%,16%,36%)

RGB channels and saturation

R 74 of 255 = 29%
G 42 of 255 = 16%
B 91 of 255 = 36%

74
42
91

R + G + B ~ 27%. #4A2A5B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
74 + 42 + 91 = 207 (100%)
R 74 of 207 ~ 35.75%
G 42 of 207 ~ 20.29%
B 91 of 207 ~ 43.96%

%35.75
%20.29
%43.96

CMYK color model

#4A2A5B color CMYK value is (19,54,0,64).

  • cyan value is 18.68%
  • magenta value is 53.85%
  • yellow value is 0.00%
  • key color value is 64.31%
CMYK:
(19,54,0,64)
C19M54Y0K64 
(19%,54%,0%,64%)
(0.19/0.54/0.00/0.64)	

CMYK percentages

%18.68
%53.85
%0
%64.31

Codes

Color #4A2A5B in popluar color models

4A2A5B
RGB744291
HSL279°36.84%26.08%
HSB/HSV279°53.85%35.69%
CMYK18.68%53.85%0.00%
64.31%

Color #4A2A5B in popluar number systems.

HEX4A2A5B
Decimal744291
Binary10010101010101011011
Octal11252133

Shades and tints

Shades of #4A2A5B

#4A2A5B
(74,42,91)
#442753
(68,39,83)
#3E244B
(62,36,75)
#382143
(56,33,67)
#321E3B
(50,30,59)
#2C1B33
(44,27,51)
#26182B
(38,24,43)
#201523
(32,21,35)
#1A121B
(26,18,27)
#140F13
(20,15,19)
#0E0C0B
(14,12,11)
#000000
(0,0,0)

Tints of #4A2A5B

#4A2A5B
(74,42,91)
#5A3D69
(90,61,105)
#6A5077
(106,80,119)
#7A6385
(122,99,133)
#8A7693
(138,118,147)
#9A89A1
(154,137,161)
#AA9CAF
(170,156,175)
#BAAFBD
(186,175,189)
#CAC2CB
(202,194,203)
#DAD5D9
(218,213,217)
#EAE8E7
(234,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4A2A5B color. Also use rgb(74,42,91) instead hex code.

Text Font Color

.myTextColor { color: #4A2A5B; }

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

This text font color is #4A2A5B.


Background Color

.myBgColor { background-color: #4A2A5B; }

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

This div background color is #4A2A5B.


Border color

.myBorderColor { border: 1px solid #4A2A5B; }

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

This div border color is #4A2A5B.


Opacity

.myOpacity80 { color: #4A2A5B; opacity: 0.8; }

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

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

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

This text has shadow with #4A2A5B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4A2A5B on black background.


Color preview on white background

This text has color #4A2A5B on white background.



Black color preview on #4A2A5B background

This text has black color on #4A2A5B background.


White color preview on #4A2A5B background

This text has white color on #4A2A5B background.