COLOR #7B2A8B

HEX: #7B2A8B
RGB: (123,42,139)

Color info

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

RGB color model

#7B2A8B color RGB value is (123,42,139).

  • red value is 123;
  • green value is 42;
  • blue value is 139.
RGB:
(123,42,139)
(48%,16%,55%)

RGB channels and saturation

R 123 of 255 = 48%
G 42 of 255 = 16%
B 139 of 255 = 55%

123
42
139

R + G + B ~ 40%. #7B2A8B is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
123 + 42 + 139 = 304 (100%)
R 123 of 304 ~ 40.46%
G 42 of 304 ~ 13.82%
B 139 of 304 ~ 45.72%

%40.46
%13.82
%45.72

CMYK color model

#7B2A8B color CMYK value is (12,70,0,45).

  • cyan value is 11.51%
  • magenta value is 69.78%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(12,70,0,45)
C12M70Y0K45 
(12%,70%,0%,45%)
(0.12/0.70/0.00/0.45)	

CMYK percentages

%11.51
%69.78
%0
%45.49

Codes

Color #7B2A8B in popluar color models

7B2A8B
RGB12342139
HSL290°53.59%35.49%
HSB/HSV290°69.78%54.51%
CMYK11.51%69.78%0.00%
45.49%

Color #7B2A8B in popluar number systems.

HEX7B2A8B
Decimal12342139
Binary111101110101010001011
Octal17352213

Shades and tints

Shades of #7B2A8B

#7B2A8B
(123,42,139)
#70277F
(112,39,127)
#652473
(101,36,115)
#5A2167
(90,33,103)
#4F1E5B
(79,30,91)
#441B4F
(68,27,79)
#391843
(57,24,67)
#2E1537
(46,21,55)
#23122B
(35,18,43)
#180F1F
(24,15,31)
#0D0C13
(13,12,19)
#000000
(0,0,0)

Tints of #7B2A8B

#7B2A8B
(123,42,139)
#873D95
(135,61,149)
#93509F
(147,80,159)
#9F63A9
(159,99,169)
#AB76B3
(171,118,179)
#B789BD
(183,137,189)
#C39CC7
(195,156,199)
#CFAFD1
(207,175,209)
#DBC2DB
(219,194,219)
#E7D5E5
(231,213,229)
#F3E8EF
(243,232,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7B2A8B color. Also use rgb(123,42,139) instead hex code.

Text Font Color

.myTextColor { color: #7B2A8B; }

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

This text font color is #7B2A8B.


Background Color

.myBgColor { background-color: #7B2A8B; }

<div style="background-color:#7B2A8B">Inner text</div>

This div background color is #7B2A8B.


Border color

.myBorderColor { border: 1px solid #7B2A8B; }

<div style="border:3px solid #7B2A8B">Div</div>

This div border color is #7B2A8B.


Opacity

.myOpacity80 { color: #7B2A8B; opacity: 0.8; }

<p style="color:#7B2A8B;opacity:0.8;">80%</p>

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

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

This text has shadow with #7B2A8B color.

.textShadow {text-shadow: 3px 3px 1px #7B2A8B, 3px 3px 1px red;}

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

This text has shadow with #7B2A8B primary color and red secondary color.


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

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

This text has shadow with #7B2A8B and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7B2A8B on black background.


Color preview on white background

This text has color #7B2A8B on white background.



Black color preview on #7B2A8B background

This text has black color on #7B2A8B background.


White color preview on #7B2A8B background

This text has white color on #7B2A8B background.