HEX: #6C448B
RGB: (108,68,139)
#6C448B contains mainly red and blue colors. Web safe color of #6C448B is #663399 (or #639).
#6C448B color RGB value is (108,68,139).
RGB: (108,68,139) (42%,27%,55%)
R 108 of 255 = 42%
G 68 of 255 = 27%
B 139 of 255 = 55%
R + G + B ~ 41%. #6C448B is middle color (not dark and not light).
R + G + B =
108 + 68 + 139 = 315 (100%)
R 108 of 315 ~ 34.29%
G 68 of 315 ~ 21.59%
B 139 of 315 ~ 44.13%
#6C448B color CMYK value is (22,51,0,45).
CMYK: (22,51,0,45) C22M51Y0K45 (22%,51%,0%,45%) (0.22/0.51/0.00/0.45)
6C | 44 | 8B | |
---|---|---|---|
RGB | 108 | 68 | 139 |
HSL | 274° | 34.30% | 40.59% |
HSB/HSV | 274° | 51.08% | 54.51% |
CMYK | 22.30% | 51.08% | 0.00% |
45.49% |
HEX | 6C | 44 | 8B |
Decimal | 108 | 68 | 139 |
Binary | 1101100 | 1000100 | 10001011 |
Octal | 154 | 104 | 213 |
Examples of css and html codes for elements with #6C448B color. Also use rgb(108,68,139) instead hex code.
.myTextColor { color: #6C448B; }
<p style="color:#6C448B">This sample text font color is #6C448B.</p>
This text font color is #6C448B.
.myBgColor { background-color: #6C448B; }
<div style="background-color:#6C448B">Inner text</div>
This div background color is #6C448B.
.myBorderColor { border: 1px solid #6C448B; }
<div style="border:3px solid #6C448B">Div</div>
This div border color is #6C448B.
.myOpacity80 { color: #6C448B; opacity: 0.8; }
<p style="color:#6C448B;opacity:0.8;">80%</p>
Text with #6C448B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C448B;}
<p style="text-shadow: 3px 3px 1px #6C448B">Text here.</p>
This text has shadow with #6C448B color.
.textShadow {text-shadow: 3px 3px 1px #6C448B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C448B, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C448B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C448B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C448B, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C448B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C448B; -webkit-box-shadow: 1px 1px 3px 2px #6C448B; box-shadow: 1px 1px 3px 2px #6C448B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C448B; -webkit-box-shadow: 1px 1px 3px 2px #6C448B; box-shadow:1px 1px 3px 2px #6C448B;">
Div content here</div>
This text has color #6C448B on black background.
This text has color #6C448B on white background.
This text has black color on #6C448B background.
This text has white color on #6C448B background.