COLOR #6C4F9E

HEX: #6C4F9E
RGB: (108,79,158)

Color info

#6C4F9E contains mainly red and blue colors. Web safe color of #6C4F9E is #666699 (or #669).

RGB color model

#6C4F9E color RGB value is (108,79,158).

  • red value is 108;
  • green value is 79;
  • blue value is 158.
RGB:
(108,79,158)
(42%,31%,62%)

RGB channels and saturation

R 108 of 255 = 42%
G 79 of 255 = 31%
B 158 of 255 = 62%

108
79
158

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

Portions of RGB colors in percentages

R + G + B =
108 + 79 + 158 = 345 (100%)
R 108 of 345 ~ 31.3%
G 79 of 345 ~ 22.9%
B 158 of 345 ~ 45.8%

%31.3
%22.9
%45.8

CMYK color model

#6C4F9E color CMYK value is (32,50,0,38).

  • cyan value is 31.65%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(32,50,0,38)
C32M50Y0K38 
(32%,50%,0%,38%)
(0.32/0.50/0.00/0.38)	

CMYK percentages

%31.65
%50
%0
%38.04

Codes

Color #6C4F9E in popluar color models

6C4F9E
RGB10879158
HSL262°33.33%46.47%
HSB/HSV262°50.00%61.96%
CMYK31.65%50.00%0.00%
38.04%

Color #6C4F9E in popluar number systems.

HEX6C4F9E
Decimal10879158
Binary1101100100111110011110
Octal154117236

Shades and tints

Shades of #6C4F9E

#6C4F9E
(108,79,158)
#634890
(99,72,144)
#5A4182
(90,65,130)
#513A74
(81,58,116)
#483366
(72,51,102)
#3F2C58
(63,44,88)
#36254A
(54,37,74)
#2D1E3C
(45,30,60)
#24172E
(36,23,46)
#1B1020
(27,16,32)
#120912
(18,9,18)
#000000
(0,0,0)

Tints of #6C4F9E

#6C4F9E
(108,79,158)
#795FA6
(121,95,166)
#866FAE
(134,111,174)
#937FB6
(147,127,182)
#A08FBE
(160,143,190)
#AD9FC6
(173,159,198)
#BAAFCE
(186,175,206)
#C7BFD6
(199,191,214)
#D4CFDE
(212,207,222)
#E1DFE6
(225,223,230)
#EEEFEE
(238,239,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6C4F9E color. Also use rgb(108,79,158) instead hex code.

Text Font Color

.myTextColor { color: #6C4F9E; }

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

This text font color is #6C4F9E.


Background Color

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

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

This div background color is #6C4F9E.


Border color

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

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

This div border color is #6C4F9E.


Opacity

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

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

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

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

This text has shadow with #6C4F9E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #6C4F9E on black background.


Color preview on white background

This text has color #6C4F9E on white background.



Black color preview on #6C4F9E background

This text has black color on #6C4F9E background.


White color preview on #6C4F9E background

This text has white color on #6C4F9E background.