COLOR #315F8A

HEX: #315F8A
RGB: (49,95,138)

Color info

#315F8A contains mainly green and blue colors. Web safe color of #315F8A is #336699 (or #369).

RGB color model

#315F8A color RGB value is (49,95,138).

  • red value is 49;
  • green value is 95;
  • blue value is 138.
RGB:
(49,95,138)
(19%,37%,54%)

RGB channels and saturation

R 49 of 255 = 19%
G 95 of 255 = 37%
B 138 of 255 = 54%

49
95
138

R + G + B ~ 37%. #315F8A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 95 + 138 = 282 (100%)
R 49 of 282 ~ 17.38%
G 95 of 282 ~ 33.69%
B 138 of 282 ~ 48.94%

%17.38
%33.69
%48.94

CMYK color model

#315F8A color CMYK value is (64,31,0,46).

  • cyan value is 64.49%
  • magenta value is 31.16%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(64,31,0,46)
C64M31Y0K46 
(64%,31%,0%,46%)
(0.64/0.31/0.00/0.46)	

CMYK percentages

%64.49
%31.16
%0
%45.88

Codes

Color #315F8A in popluar color models

315F8A
RGB4995138
HSL209°47.59%36.67%
HSB/HSV209°64.49%54.12%
CMYK64.49%31.16%0.00%
45.88%

Color #315F8A in popluar number systems.

HEX315F8A
Decimal4995138
Binary110001101111110001010
Octal61137212

Shades and tints

Shades of #315F8A

#315F8A
(49,95,138)
#2D577E
(45,87,126)
#294F72
(41,79,114)
#254766
(37,71,102)
#213F5A
(33,63,90)
#1D374E
(29,55,78)
#192F42
(25,47,66)
#152736
(21,39,54)
#111F2A
(17,31,42)
#0D171E
(13,23,30)
#090F12
(9,15,18)
#000000
(0,0,0)

Tints of #315F8A

#315F8A
(49,95,138)
#436D94
(67,109,148)
#557B9E
(85,123,158)
#6789A8
(103,137,168)
#7997B2
(121,151,178)
#8BA5BC
(139,165,188)
#9DB3C6
(157,179,198)
#AFC1D0
(175,193,208)
#C1CFDA
(193,207,218)
#D3DDE4
(211,221,228)
#E5EBEE
(229,235,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #315F8A color. Also use rgb(49,95,138) instead hex code.

Text Font Color

.myTextColor { color: #315F8A; }

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

This text font color is #315F8A.


Background Color

.myBgColor { background-color: #315F8A; }

<div style="background-color:#315F8A">Inner text</div>

This div background color is #315F8A.


Border color

.myBorderColor { border: 1px solid #315F8A; }

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

This div border color is #315F8A.


Opacity

.myOpacity80 { color: #315F8A; opacity: 0.8; }

<p style="color:#315F8A;opacity:0.8;">80%</p>

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

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

This text has shadow with #315F8A color.

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

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

This text has shadow with #315F8A primary color and red secondary color.


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

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

This text has shadow with #315F8A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #315F8A on black background.


Color preview on white background

This text has color #315F8A on white background.



Black color preview on #315F8A background

This text has black color on #315F8A background.


White color preview on #315F8A background

This text has white color on #315F8A background.