COLOR #30315E

HEX: #30315E
RGB: (48,49,94)

Color info

#30315E contains red, green and blue colors in about the same proportion. Web safe color of #30315E is #333366 (or #336).

RGB color model

#30315E color RGB value is (48,49,94).

  • red value is 48;
  • green value is 49;
  • blue value is 94.
RGB:
(48,49,94)
(19%,19%,37%)

RGB channels and saturation

R 48 of 255 = 19%
G 49 of 255 = 19%
B 94 of 255 = 37%

48
49
94

R + G + B ~ 25%. #30315E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 49 + 94 = 191 (100%)
R 48 of 191 ~ 25.13%
G 49 of 191 ~ 25.65%
B 94 of 191 ~ 49.21%

%25.13
%25.65
%49.21

CMYK color model

#30315E color CMYK value is (49,48,0,63).

  • cyan value is 48.94%
  • magenta value is 47.87%
  • yellow value is 0.00%
  • key color value is 63.14%
CMYK:
(49,48,0,63)
C49M48Y0K63 
(49%,48%,0%,63%)
(0.49/0.48/0.00/0.63)	

CMYK percentages

%48.94
%47.87
%0
%63.14

Codes

Color #30315E in popluar color models

30315E
RGB484994
HSL239°32.39%27.84%
HSB/HSV239°48.94%36.86%
CMYK48.94%47.87%0.00%
63.14%

Color #30315E in popluar number systems.

HEX30315E
Decimal484994
Binary1100001100011011110
Octal6061136

Shades and tints

Shades of #30315E

#30315E
(48,49,94)
#2C2D56
(44,45,86)
#28294E
(40,41,78)
#242546
(36,37,70)
#20213E
(32,33,62)
#1C1D36
(28,29,54)
#18192E
(24,25,46)
#141526
(20,21,38)
#10111E
(16,17,30)
#0C0D16
(12,13,22)
#08090E
(8,9,14)
#000000
(0,0,0)

Tints of #30315E

#30315E
(48,49,94)
#42436C
(66,67,108)
#54557A
(84,85,122)
#666788
(102,103,136)
#787996
(120,121,150)
#8A8BA4
(138,139,164)
#9C9DB2
(156,157,178)
#AEAFC0
(174,175,192)
#C0C1CE
(192,193,206)
#D2D3DC
(210,211,220)
#E4E5EA
(228,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #30315E color. Also use rgb(48,49,94) instead hex code.

Text Font Color

.myTextColor { color: #30315E; }

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

This text font color is #30315E.


Background Color

.myBgColor { background-color: #30315E; }

<div style="background-color:#30315E">Inner text</div>

This div background color is #30315E.


Border color

.myBorderColor { border: 1px solid #30315E; }

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

This div border color is #30315E.


Opacity

.myOpacity80 { color: #30315E; opacity: 0.8; }

<p style="color:#30315E;opacity:0.8;">80%</p>

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

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

This text has shadow with #30315E color.

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

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

This text has shadow with #30315E primary color and red secondary color.


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

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

This text has shadow with #30315E and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #30315E on black background.


Color preview on white background

This text has color #30315E on white background.



Black color preview on #30315E background

This text has black color on #30315E background.


White color preview on #30315E background

This text has white color on #30315E background.