COLOR #4C227F

HEX: #4C227F RGB: (76,34,127)

Color info

#4C227F contains mainly red and blue colors. Web safe color of #4C227F is #333366 (or #336).

RGB color model

#4C227F color RGB value is (76,34,127).

RGB: (76,34,127) (30%, 13%, 50%)

RGB channels and saturation

R 76 of 255 = 30%
G 34 of 255 = 13%
B 127 of 255 = 50%

76
34
127

R + G + B ~ 31%. #4C227F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 76 + 34 + 127 = 237 (100%)
R 76 of 237 ~ 32.07%
G 34 of 237 ~ 14.35%
B 127 of 237 ~ 53.59'%

%32.07
%14.35
%53.59

CMYK color model

#4C227F color CMYK value is (40,73,0,50).

  • cyan value is 40.16%
  • magenta value is 73.23%
  • yellow value is 0.00%
  • key color value is 50.20%

CMYK: (40,73,0,50)
C40M73Y0K50 (40%, 73%, 0%, 50%)
(0.40 / 0.73 / 0.00 / 0.50)

CMYK percentages

%40.16
%73.23
%0
%50.2

Codes

Color #4C227F in popluar color models

4C 22 7F
RGB 76 34 127
HSL 267° 57.76% 31.57%
HSB/HSV 267° 73.23% 49.80%
CMYK 40.16% 73.23% 0.00%
50.20%

Color #4C227F in popluar number systems.

HEX 4C 22 7F
Decimal 76 34 127
Binary 1001100 100010 1111111
Octal 114 42 177

Shades and tints

Shades of #4C227F

#4C227F
(76,34,127)
#461F74
(70,31,116)
#401C69
(64,28,105)
#3A195E
(58,25,94)
#341653
(52,22,83)
#2E1348
(46,19,72)
#28103D
(40,16,61)
#220D32
(34,13,50)
#1C0A27
(28,10,39)
#16071C
(22,7,28)
#100411
(16,4,17)
#000000
(0,0,0)

Tints of #4C227F

#4C227F
(76,34,127)
#5C368A
(92,54,138)
#6C4A95
(108,74,149)
#7C5EA0
(124,94,160)
#8C72AB
(140,114,171)
#9C86B6
(156,134,182)
#AC9AC1
(172,154,193)
#BCAECC
(188,174,204)
#CCC2D7
(204,194,215)
#DCD6E2
(220,214,226)
#ECEAED
(236,234,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4C227F color. Also use rgb(76,34,127) instead hex code.

Text Font Color

.myTextColor { color: #4C227F; }

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

This text font color is #4C227F.

Background Color

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

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

This div background color is #4C227F.

Border color

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

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

This div border color is #4C227F.

Opacity

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

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

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

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

This text has shadow with #4C227F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #4C227F.

Preview

Color preview on black background

This text has color #4C227F on black background.


Color preview on white background

This text has color #4C227F on white background.


Black color preview on #4C227F background

This text has black color on #4C227F background.


White color preview on #4C227F background

This text has white color on #4C227F background.


Related colors

Complementary color

Complementary color for #hex is #B3DD80.


I love getcolorcode.com

Triadic colors

1 #7F4C22 and #227F4C with #4C227F are triadic colors.

2 #7F224C and #224C7F with #4C227F are triadic colors.