COLOR #4C408C

HEX: #4C408C
RGB: (76,64,140)

Color info

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

RGB color model

#4C408C color RGB value is (76,64,140).

  • red value is 76;
  • green value is 64;
  • blue value is 140.
RGB:
(76,64,140)
(30%,25%,55%)

RGB channels and saturation

R 76 of 255 = 30%
G 64 of 255 = 25%
B 140 of 255 = 55%

76
64
140

R + G + B ~ 37%. #4C408C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
76 + 64 + 140 = 280 (100%)
R 76 of 280 ~ 27.14%
G 64 of 280 ~ 22.86%
B 140 of 280 ~ 50%

%27.14
%22.86
%50

CMYK color model

#4C408C color CMYK value is (46,54,0,45).

  • cyan value is 45.71%
  • magenta value is 54.29%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(46,54,0,45)
C46M54Y0K45 
(46%,54%,0%,45%)
(0.46/0.54/0.00/0.45)	

CMYK percentages

%45.71
%54.29
%0
%45.1

Codes

Color #4C408C in popluar color models

4C408C
RGB7664140
HSL249°37.25%40.00%
HSB/HSV249°54.29%54.90%
CMYK45.71%54.29%0.00%
45.10%

Color #4C408C in popluar number systems.

HEX4C408C
Decimal7664140
Binary1001100100000010001100
Octal114100214

Shades and tints

Shades of #4C408C

#4C408C
(76,64,140)
#463B80
(70,59,128)
#403674
(64,54,116)
#3A3168
(58,49,104)
#342C5C
(52,44,92)
#2E2750
(46,39,80)
#282244
(40,34,68)
#221D38
(34,29,56)
#1C182C
(28,24,44)
#161320
(22,19,32)
#100E14
(16,14,20)
#000000
(0,0,0)

Tints of #4C408C

#4C408C
(76,64,140)
#5C5196
(92,81,150)
#6C62A0
(108,98,160)
#7C73AA
(124,115,170)
#8C84B4
(140,132,180)
#9C95BE
(156,149,190)
#ACA6C8
(172,166,200)
#BCB7D2
(188,183,210)
#CCC8DC
(204,200,220)
#DCD9E6
(220,217,230)
#ECEAF0
(236,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4C408C color. Also use rgb(76,64,140) instead hex code.

Text Font Color

.myTextColor { color: #4C408C; }

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

This text font color is #4C408C.


Background Color

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

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

This div background color is #4C408C.


Border color

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

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

This div border color is #4C408C.


Opacity

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

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

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

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

This text has shadow with #4C408C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4C408C on black background.


Color preview on white background

This text has color #4C408C on white background.



Black color preview on #4C408C background

This text has black color on #4C408C background.


White color preview on #4C408C background

This text has white color on #4C408C background.