COLOR #6C4A8C

HEX: #6C4A8C
RGB: (108,74,140)

Color info

#6C4A8C contains mainly red and blue colors. Web safe color of #6C4A8C is #663399 (or #639).

RGB color model

#6C4A8C color RGB value is (108,74,140).

  • red value is 108;
  • green value is 74;
  • blue value is 140.
RGB:
(108,74,140)
(42%,29%,55%)

RGB channels and saturation

R 108 of 255 = 42%
G 74 of 255 = 29%
B 140 of 255 = 55%

108
74
140

R + G + B ~ 42%. #6C4A8C is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
108 + 74 + 140 = 322 (100%)
R 108 of 322 ~ 33.54%
G 74 of 322 ~ 22.98%
B 140 of 322 ~ 43.48%

%33.54
%22.98
%43.48

CMYK color model

#6C4A8C color CMYK value is (23,47,0,45).

  • cyan value is 22.86%
  • magenta value is 47.14%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(23,47,0,45)
C23M47Y0K45 
(23%,47%,0%,45%)
(0.23/0.47/0.00/0.45)	

CMYK percentages

%22.86
%47.14
%0
%45.1

Codes

Color #6C4A8C in popluar color models

6C4A8C
RGB10874140
HSL271°30.84%41.96%
HSB/HSV271°47.14%54.90%
CMYK22.86%47.14%0.00%
45.10%

Color #6C4A8C in popluar number systems.

HEX6C4A8C
Decimal10874140
Binary1101100100101010001100
Octal154112214

Shades and tints

Shades of #6C4A8C

#6C4A8C
(108,74,140)
#634480
(99,68,128)
#5A3E74
(90,62,116)
#513868
(81,56,104)
#48325C
(72,50,92)
#3F2C50
(63,44,80)
#362644
(54,38,68)
#2D2038
(45,32,56)
#241A2C
(36,26,44)
#1B1420
(27,20,32)
#120E14
(18,14,20)
#000000
(0,0,0)

Tints of #6C4A8C

#6C4A8C
(108,74,140)
#795A96
(121,90,150)
#866AA0
(134,106,160)
#937AAA
(147,122,170)
#A08AB4
(160,138,180)
#AD9ABE
(173,154,190)
#BAAAC8
(186,170,200)
#C7BAD2
(199,186,210)
#D4CADC
(212,202,220)
#E1DAE6
(225,218,230)
#EEEAF0
(238,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6C4A8C color. Also use rgb(108,74,140) instead hex code.

Text Font Color

.myTextColor { color: #6C4A8C; }

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

This text font color is #6C4A8C.


Background Color

.myBgColor { background-color: #6C4A8C; }

<div style="background-color:#6C4A8C">Inner text</div>

This div background color is #6C4A8C.


Border color

.myBorderColor { border: 1px solid #6C4A8C; }

<div style="border:3px solid #6C4A8C">Div</div>

This div border color is #6C4A8C.


Opacity

.myOpacity80 { color: #6C4A8C; opacity: 0.8; }

<p style="color:#6C4A8C;opacity:0.8;">80%</p>

Text with #6C4A8C 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 #6C4A8C;}

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

This text has shadow with #6C4A8C color.

.textShadow {text-shadow: 3px 3px 1px #6C4A8C, 3px 3px 1px red;}

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

This text has shadow with #6C4A8C primary color and red secondary color.


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

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

This text has shadow with #6C4A8C and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #6C4A8C on black background.


Color preview on white background

This text has color #6C4A8C on white background.



Black color preview on #6C4A8C background

This text has black color on #6C4A8C background.


White color preview on #6C4A8C background

This text has white color on #6C4A8C background.