COLOR #3A2F7A

HEX: #3A2F7A
RGB: (58,47,122)

Color info

#3A2F7A contains mainly blue color. Web safe color of #3A2F7A is #333366 (or #336).

RGB color model

#3A2F7A color RGB value is (58,47,122).

  • red value is 58;
  • green value is 47;
  • blue value is 122.
RGB:
(58,47,122)
(23%,18%,48%)

RGB channels and saturation

R 58 of 255 = 23%
G 47 of 255 = 18%
B 122 of 255 = 48%

58
47
122

R + G + B ~ 30%. #3A2F7A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
58 + 47 + 122 = 227 (100%)
R 58 of 227 ~ 25.55%
G 47 of 227 ~ 20.7%
B 122 of 227 ~ 53.74%

%25.55
%20.7
%53.74

CMYK color model

#3A2F7A color CMYK value is (52,61,0,52).

  • cyan value is 52.46%
  • magenta value is 61.48%
  • yellow value is 0.00%
  • key color value is 52.16%
CMYK:
(52,61,0,52)
C52M61Y0K52 
(52%,61%,0%,52%)
(0.52/0.61/0.00/0.52)	

CMYK percentages

%52.46
%61.48
%0
%52.16

Codes

Color #3A2F7A in popluar color models

3A2F7A
RGB5847122
HSL249°44.38%33.14%
HSB/HSV249°61.48%47.84%
CMYK52.46%61.48%0.00%
52.16%

Color #3A2F7A in popluar number systems.

HEX3A2F7A
Decimal5847122
Binary1110101011111111010
Octal7257172

Shades and tints

Shades of #3A2F7A

#3A2F7A
(58,47,122)
#352B6F
(53,43,111)
#302764
(48,39,100)
#2B2359
(43,35,89)
#261F4E
(38,31,78)
#211B43
(33,27,67)
#1C1738
(28,23,56)
#17132D
(23,19,45)
#120F22
(18,15,34)
#0D0B17
(13,11,23)
#08070C
(8,7,12)
#000000
(0,0,0)

Tints of #3A2F7A

#3A2F7A
(58,47,122)
#4B4186
(75,65,134)
#5C5392
(92,83,146)
#6D659E
(109,101,158)
#7E77AA
(126,119,170)
#8F89B6
(143,137,182)
#A09BC2
(160,155,194)
#B1ADCE
(177,173,206)
#C2BFDA
(194,191,218)
#D3D1E6
(211,209,230)
#E4E3F2
(228,227,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #3A2F7A color. Also use rgb(58,47,122) instead hex code.

Text Font Color

.myTextColor { color: #3A2F7A; }

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

This text font color is #3A2F7A.


Background Color

.myBgColor { background-color: #3A2F7A; }

<div style="background-color:#3A2F7A">Inner text</div>

This div background color is #3A2F7A.


Border color

.myBorderColor { border: 1px solid #3A2F7A; }

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

This div border color is #3A2F7A.


Opacity

.myOpacity80 { color: #3A2F7A; opacity: 0.8; }

<p style="color:#3A2F7A;opacity:0.8;">80%</p>

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

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

This text has shadow with #3A2F7A color.

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

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

This text has shadow with #3A2F7A primary color and red secondary color.


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

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

This text has shadow with #3A2F7A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #3A2F7A on black background.


Color preview on white background

This text has color #3A2F7A on white background.



Black color preview on #3A2F7A background

This text has black color on #3A2F7A background.


White color preview on #3A2F7A background

This text has white color on #3A2F7A background.