COLOR #6B158A

HEX: #6B158A
RGB: (107,21,138)

Color info

#6B158A contains mainly red and blue colors. Web safe color of #6B158A is #660099 (or #609).

RGB color model

#6B158A color RGB value is (107,21,138).

  • red value is 107;
  • green value is 21;
  • blue value is 138.
RGB:
(107,21,138)
(42%,8%,54%)

RGB channels and saturation

R 107 of 255 = 42%
G 21 of 255 = 8%
B 138 of 255 = 54%

107
21
138

R + G + B ~ 35%. #6B158A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
107 + 21 + 138 = 266 (100%)
R 107 of 266 ~ 40.23%
G 21 of 266 ~ 7.89%
B 138 of 266 ~ 51.88%

%40.23
%51.88

CMYK color model

#6B158A color CMYK value is (22,85,0,46).

  • cyan value is 22.46%
  • magenta value is 84.78%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(22,85,0,46)
C22M85Y0K46 
(22%,85%,0%,46%)
(0.22/0.85/0.00/0.46)	

CMYK percentages

%22.46
%84.78
%0
%45.88

Codes

Color #6B158A in popluar color models

6B158A
RGB10721138
HSL284°73.58%31.18%
HSB/HSV284°84.78%54.12%
CMYK22.46%84.78%0.00%
45.88%

Color #6B158A in popluar number systems.

HEX6B158A
Decimal10721138
Binary11010111010110001010
Octal15325212

Shades and tints

Shades of #6B158A

#6B158A
(107,21,138)
#62147E
(98,20,126)
#591372
(89,19,114)
#501266
(80,18,102)
#47115A
(71,17,90)
#3E104E
(62,16,78)
#350F42
(53,15,66)
#2C0E36
(44,14,54)
#230D2A
(35,13,42)
#1A0C1E
(26,12,30)
#110B12
(17,11,18)
#000000
(0,0,0)

Tints of #6B158A

#6B158A
(107,21,138)
#782A94
(120,42,148)
#853F9E
(133,63,158)
#9254A8
(146,84,168)
#9F69B2
(159,105,178)
#AC7EBC
(172,126,188)
#B993C6
(185,147,198)
#C6A8D0
(198,168,208)
#D3BDDA
(211,189,218)
#E0D2E4
(224,210,228)
#EDE7EE
(237,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6B158A color. Also use rgb(107,21,138) instead hex code.

Text Font Color

.myTextColor { color: #6B158A; }

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

This text font color is #6B158A.


Background Color

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

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

This div background color is #6B158A.


Border color

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

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

This div border color is #6B158A.


Opacity

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

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

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

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

This text has shadow with #6B158A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #6B158A on black background.


Color preview on white background

This text has color #6B158A on white background.



Black color preview on #6B158A background

This text has black color on #6B158A background.


White color preview on #6B158A background

This text has white color on #6B158A background.