COLOR #6C2E8A

HEX: #6C2E8A
RGB: (108,46,138)

Color info

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

RGB color model

#6C2E8A color RGB value is (108,46,138).

  • red value is 108;
  • green value is 46;
  • blue value is 138.
RGB:
(108,46,138)
(42%,18%,54%)

RGB channels and saturation

R 108 of 255 = 42%
G 46 of 255 = 18%
B 138 of 255 = 54%

108
46
138

R + G + B ~ 38%. #6C2E8A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
108 + 46 + 138 = 292 (100%)
R 108 of 292 ~ 36.99%
G 46 of 292 ~ 15.75%
B 138 of 292 ~ 47.26%

%36.99
%15.75
%47.26

CMYK color model

#6C2E8A color CMYK value is (22,67,0,46).

  • cyan value is 21.74%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(22,67,0,46)
C22M67Y0K46 
(22%,67%,0%,46%)
(0.22/0.67/0.00/0.46)	

CMYK percentages

%21.74
%66.67
%0
%45.88

Codes

Color #6C2E8A in popluar color models

6C2E8A
RGB10846138
HSL280°50.00%36.08%
HSB/HSV280°66.67%54.12%
CMYK21.74%66.67%0.00%
45.88%

Color #6C2E8A in popluar number systems.

HEX6C2E8A
Decimal10846138
Binary110110010111010001010
Octal15456212

Shades and tints

Shades of #6C2E8A

#6C2E8A
(108,46,138)
#632A7E
(99,42,126)
#5A2672
(90,38,114)
#512266
(81,34,102)
#481E5A
(72,30,90)
#3F1A4E
(63,26,78)
#361642
(54,22,66)
#2D1236
(45,18,54)
#240E2A
(36,14,42)
#1B0A1E
(27,10,30)
#120612
(18,6,18)
#000000
(0,0,0)

Tints of #6C2E8A

#6C2E8A
(108,46,138)
#794194
(121,65,148)
#86549E
(134,84,158)
#9367A8
(147,103,168)
#A07AB2
(160,122,178)
#AD8DBC
(173,141,188)
#BAA0C6
(186,160,198)
#C7B3D0
(199,179,208)
#D4C6DA
(212,198,218)
#E1D9E4
(225,217,228)
#EEECEE
(238,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6C2E8A color. Also use rgb(108,46,138) instead hex code.

Text Font Color

.myTextColor { color: #6C2E8A; }

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

This text font color is #6C2E8A.


Background Color

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

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

This div background color is #6C2E8A.


Border color

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

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

This div border color is #6C2E8A.


Opacity

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

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

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

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

This text has shadow with #6C2E8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #6C2E8A on black background.


Color preview on white background

This text has color #6C2E8A on white background.



Black color preview on #6C2E8A background

This text has black color on #6C2E8A background.


White color preview on #6C2E8A background

This text has white color on #6C2E8A background.