COLOR #2F315A

HEX: #2F315A
RGB: (47,49,90)

Color info

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

RGB color model

#2F315A color RGB value is (47,49,90).

  • red value is 47;
  • green value is 49;
  • blue value is 90.
RGB:
(47,49,90)
(18%,19%,35%)

RGB channels and saturation

R 47 of 255 = 18%
G 49 of 255 = 19%
B 90 of 255 = 35%

47
49
90

R + G + B ~ 24%. #2F315A is dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 49 + 90 = 186 (100%)
R 47 of 186 ~ 25.27%
G 49 of 186 ~ 26.34%
B 90 of 186 ~ 48.39%

%25.27
%26.34
%48.39

CMYK color model

#2F315A color CMYK value is (48,46,0,65).

  • cyan value is 47.78%
  • magenta value is 45.56%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(48,46,0,65)
C48M46Y0K65 
(48%,46%,0%,65%)
(0.48/0.46/0.00/0.65)	

CMYK percentages

%47.78
%45.56
%0
%64.71

Codes

Color #2F315A in popluar color models

2F315A
RGB474990
HSL237°31.39%26.86%
HSB/HSV237°47.78%35.29%
CMYK47.78%45.56%0.00%
64.71%

Color #2F315A in popluar number systems.

HEX2F315A
Decimal474990
Binary1011111100011011010
Octal5761132

Shades and tints

Shades of #2F315A

#2F315A
(47,49,90)
#2B2D52
(43,45,82)
#27294A
(39,41,74)
#232542
(35,37,66)
#1F213A
(31,33,58)
#1B1D32
(27,29,50)
#17192A
(23,25,42)
#131522
(19,21,34)
#0F111A
(15,17,26)
#0B0D12
(11,13,18)
#07090A
(7,9,10)
#000000
(0,0,0)

Tints of #2F315A

#2F315A
(47,49,90)
#414369
(65,67,105)
#535578
(83,85,120)
#656787
(101,103,135)
#777996
(119,121,150)
#898BA5
(137,139,165)
#9B9DB4
(155,157,180)
#ADAFC3
(173,175,195)
#BFC1D2
(191,193,210)
#D1D3E1
(209,211,225)
#E3E5F0
(227,229,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F315A color. Also use rgb(47,49,90) instead hex code.

Text Font Color

.myTextColor { color: #2F315A; }

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

This text font color is #2F315A.


Background Color

.myBgColor { background-color: #2F315A; }

<div style="background-color:#2F315A">Inner text</div>

This div background color is #2F315A.


Border color

.myBorderColor { border: 1px solid #2F315A; }

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

This div border color is #2F315A.


Opacity

.myOpacity80 { color: #2F315A; opacity: 0.8; }

<p style="color:#2F315A;opacity:0.8;">80%</p>

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

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

This text has shadow with #2F315A color.

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

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

This text has shadow with #2F315A primary color and red secondary color.


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

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

This text has shadow with #2F315A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F315A on black background.


Color preview on white background

This text has color #2F315A on white background.



Black color preview on #2F315A background

This text has black color on #2F315A background.


White color preview on #2F315A background

This text has white color on #2F315A background.