COLOR #4C2A9F

HEX: #4C2A9F RGB: (76,42,159)

Color info

#4C2A9F contains mainly blue color. Web safe color of #4C2A9F is #333399 (or #339).

RGB color model

#4C2A9F color RGB value is (76,42,159).

RGB: (76,42,159) (30%, 16%, 62%)

RGB channels and saturation

R 76 of 255 = 30%
G 42 of 255 = 16%
B 159 of 255 = 62%

76
42
159

R + G + B ~ 36%. #4C2A9F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 76 + 42 + 159 = 277 (100%)
R 76 of 277 ~ 27.44%
G 42 of 277 ~ 15.16%
B 159 of 277 ~ 57.4'%

%27.44
%15.16
%57.4

CMYK color model

#4C2A9F color CMYK value is (52,74,0,38).

  • cyan value is 52.20%
  • magenta value is 73.58%
  • yellow value is 0.00%
  • key color value is 37.65%
CMYK: (52,74,0,38) C52M74Y0K38 (52%,74%,0%,38%) (0.52/0.74/0.00/0.38) 

CMYK percentages

%52.2
%73.58
%0
%37.65

Codes

Color #4C2A9F in popluar color models

4C 2A 9F
RGB 76 42 159
HSL 257° 58.21% 39.41%
HSB/HSV 257° 73.58% 62.35%
CMYK 52.20% 73.58% 0.00%
37.65%

Color #4C2A9F in popluar number systems.

HEX 4C 2A 9F
Decimal 76 42 159
Binary 1001100 101010 10011111
Octal 114 52 237

Shades and tints

Shades of #4C2A9F

#4C2A9F
(76,42,159)
#462791
(70,39,145)
#402483
(64,36,131)
#3A2175
(58,33,117)
#341E67
(52,30,103)
#2E1B59
(46,27,89)
#28184B
(40,24,75)
#22153D
(34,21,61)
#1C122F
(28,18,47)
#160F21
(22,15,33)
#100C13
(16,12,19)
#000000
(0,0,0)

Tints of #4C2A9F

#4C2A9F
(76,42,159)
#5C3DA7
(92,61,167)
#6C50AF
(108,80,175)
#7C63B7
(124,99,183)
#8C76BF
(140,118,191)
#9C89C7
(156,137,199)
#AC9CCF
(172,156,207)
#BCAFD7
(188,175,215)
#CCC2DF
(204,194,223)
#DCD5E7
(220,213,231)
#ECE8EF
(236,232,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4C2A9F color. Also use rgb(76,42,159) instead hex code.

Text Font Color

.myTextColor { color: #4C2A9F; }

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

This text font color is #4C2A9F.

Background Color

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

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

This div background color is #4C2A9F.

Border color

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

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

This div border color is #4C2A9F.

Opacity

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

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

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

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

This text has shadow with #4C2A9F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #4C2A9F.

Preview

Color preview on black background

This text has color #4C2A9F on black background.


Color preview on white background

This text has color #4C2A9F on white background.


Black color preview on #4C2A9F background

This text has black color on #4C2A9F background.


White color preview on #4C2A9F background

This text has white color on #4C2A9F background.


Related colors

Complementary color

Complementary color for #hex is #B3D560.


I love getcolorcode.com

Triadic colors

1 #9F4C2A and #2A9F4C with #4C2A9F are triadic colors.

2 #9F2A4C and #2A4C9F with #4C2A9F are triadic colors.