COLOR #4A1F4A

HEX: #4A1F4A
RGB: (74,31,74)

Color info

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

RGB color model

#4A1F4A color RGB value is (74,31,74).

  • red value is 74;
  • green value is 31;
  • blue value is 74.
RGB:
(74,31,74)
(29%,12%,29%)

RGB channels and saturation

R 74 of 255 = 29%
G 31 of 255 = 12%
B 74 of 255 = 29%

74
31
74

R + G + B ~ 23%. #4A1F4A is dark color.

Portions of RGB colors in percentages

R + G + B =
74 + 31 + 74 = 179 (100%)
R 74 of 179 ~ 41.34%
G 31 of 179 ~ 17.32%
B 74 of 179 ~ 41.34%

%41.34
%17.32
%41.34

CMYK color model

#4A1F4A color CMYK value is (0,58,0,71).

  • cyan value is 0.00%
  • magenta value is 58.11%
  • yellow value is 0.00%
  • key color value is 70.98%
CMYK:
(0,58,0,71)
C0M58Y0K71 
(0%,58%,0%,71%)
(0.00/0.58/0.00/0.71)	

CMYK percentages

%0
%58.11
%0
%70.98

Codes

Color #4A1F4A in popluar color models

4A1F4A
RGB743174
HSL300°40.95%20.59%
HSB/HSV300°58.11%29.02%
CMYK0.00%58.11%0.00%
70.98%

Color #4A1F4A in popluar number systems.

HEX4A1F4A
Decimal743174
Binary1001010111111001010
Octal11237112

Shades and tints

Shades of #4A1F4A

#4A1F4A
(74,31,74)
#441D44
(68,29,68)
#3E1B3E
(62,27,62)
#381938
(56,25,56)
#321732
(50,23,50)
#2C152C
(44,21,44)
#261326
(38,19,38)
#201120
(32,17,32)
#1A0F1A
(26,15,26)
#140D14
(20,13,20)
#0E0B0E
(14,11,14)
#000000
(0,0,0)

Tints of #4A1F4A

#4A1F4A
(74,31,74)
#5A335A
(90,51,90)
#6A476A
(106,71,106)
#7A5B7A
(122,91,122)
#8A6F8A
(138,111,138)
#9A839A
(154,131,154)
#AA97AA
(170,151,170)
#BAABBA
(186,171,186)
#CABFCA
(202,191,202)
#DAD3DA
(218,211,218)
#EAE7EA
(234,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #4A1F4A; }

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

This text font color is #4A1F4A.


Background Color

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

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

This div background color is #4A1F4A.


Border color

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

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

This div border color is #4A1F4A.


Opacity

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

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

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

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

This text has shadow with #4A1F4A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4A1F4A on black background.


Color preview on white background

This text has color #4A1F4A on white background.



Black color preview on #4A1F4A background

This text has black color on #4A1F4A background.


White color preview on #4A1F4A background

This text has white color on #4A1F4A background.