COLOR #6C2D8E

HEX: #6C2D8E
RGB: (108,45,142)

Color info

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

RGB color model

#6C2D8E color RGB value is (108,45,142).

  • red value is 108;
  • green value is 45;
  • blue value is 142.
RGB:
(108,45,142)
(42%,18%,56%)

RGB channels and saturation

R 108 of 255 = 42%
G 45 of 255 = 18%
B 142 of 255 = 56%

108
45
142

R + G + B ~ 39%. #6C2D8E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
108 + 45 + 142 = 295 (100%)
R 108 of 295 ~ 36.61%
G 45 of 295 ~ 15.25%
B 142 of 295 ~ 48.14%

%36.61
%15.25
%48.14

CMYK color model

#6C2D8E color CMYK value is (24,68,0,44).

  • cyan value is 23.94%
  • magenta value is 68.31%
  • yellow value is 0.00%
  • key color value is 44.31%
CMYK:
(24,68,0,44)
C24M68Y0K44 
(24%,68%,0%,44%)
(0.24/0.68/0.00/0.44)	

CMYK percentages

%23.94
%68.31
%0
%44.31

Codes

Color #6C2D8E in popluar color models

6C2D8E
RGB10845142
HSL279°51.87%36.67%
HSB/HSV279°68.31%55.69%
CMYK23.94%68.31%0.00%
44.31%

Color #6C2D8E in popluar number systems.

HEX6C2D8E
Decimal10845142
Binary110110010110110001110
Octal15455216

Shades and tints

Shades of #6C2D8E

#6C2D8E
(108,45,142)
#632982
(99,41,130)
#5A2576
(90,37,118)
#51216A
(81,33,106)
#481D5E
(72,29,94)
#3F1952
(63,25,82)
#361546
(54,21,70)
#2D113A
(45,17,58)
#240D2E
(36,13,46)
#1B0922
(27,9,34)
#120516
(18,5,22)
#000000
(0,0,0)

Tints of #6C2D8E

#6C2D8E
(108,45,142)
#794098
(121,64,152)
#8653A2
(134,83,162)
#9366AC
(147,102,172)
#A079B6
(160,121,182)
#AD8CC0
(173,140,192)
#BA9FCA
(186,159,202)
#C7B2D4
(199,178,212)
#D4C5DE
(212,197,222)
#E1D8E8
(225,216,232)
#EEEBF2
(238,235,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6C2D8E color. Also use rgb(108,45,142) instead hex code.

Text Font Color

.myTextColor { color: #6C2D8E; }

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

This text font color is #6C2D8E.


Background Color

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

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

This div background color is #6C2D8E.


Border color

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

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

This div border color is #6C2D8E.


Opacity

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

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

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

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

This text has shadow with #6C2D8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #6C2D8E on black background.


Color preview on white background

This text has color #6C2D8E on white background.



Black color preview on #6C2D8E background

This text has black color on #6C2D8E background.


White color preview on #6C2D8E background

This text has white color on #6C2D8E background.