COLOR #2F1F5D

HEX: #2F1F5D
RGB: (47,31,93)

Color info

#2F1F5D contains mainly red and blue colors. Web safe color of #2F1F5D is #333366 (or #336).

RGB color model

#2F1F5D color RGB value is (47,31,93).

  • red value is 47;
  • green value is 31;
  • blue value is 93.
RGB:
(47,31,93)
(18%,12%,36%)

RGB channels and saturation

R 47 of 255 = 18%
G 31 of 255 = 12%
B 93 of 255 = 36%

47
31
93

R + G + B ~ 22%. #2F1F5D is dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 31 + 93 = 171 (100%)
R 47 of 171 ~ 27.49%
G 31 of 171 ~ 18.13%
B 93 of 171 ~ 54.39%

%27.49
%18.13
%54.39

CMYK color model

#2F1F5D color CMYK value is (49,67,0,64).

  • cyan value is 49.46%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 63.53%
CMYK:
(49,67,0,64)
C49M67Y0K64 
(49%,67%,0%,64%)
(0.49/0.67/0.00/0.64)	

CMYK percentages

%49.46
%66.67
%0
%63.53

Codes

Color #2F1F5D in popluar color models

2F1F5D
RGB473193
HSL255°50.00%24.31%
HSB/HSV255°66.67%36.47%
CMYK49.46%66.67%0.00%
63.53%

Color #2F1F5D in popluar number systems.

HEX2F1F5D
Decimal473193
Binary101111111111011101
Octal5737135

Shades and tints

Shades of #2F1F5D

#2F1F5D
(47,31,93)
#2B1D55
(43,29,85)
#271B4D
(39,27,77)
#231945
(35,25,69)
#1F173D
(31,23,61)
#1B1535
(27,21,53)
#17132D
(23,19,45)
#131125
(19,17,37)
#0F0F1D
(15,15,29)
#0B0D15
(11,13,21)
#070B0D
(7,11,13)
#000000
(0,0,0)

Tints of #2F1F5D

#2F1F5D
(47,31,93)
#41336B
(65,51,107)
#534779
(83,71,121)
#655B87
(101,91,135)
#776F95
(119,111,149)
#8983A3
(137,131,163)
#9B97B1
(155,151,177)
#ADABBF
(173,171,191)
#BFBFCD
(191,191,205)
#D1D3DB
(209,211,219)
#E3E7E9
(227,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F1F5D color. Also use rgb(47,31,93) instead hex code.

Text Font Color

.myTextColor { color: #2F1F5D; }

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

This text font color is #2F1F5D.


Background Color

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

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

This div background color is #2F1F5D.


Border color

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

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

This div border color is #2F1F5D.


Opacity

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

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

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

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

This text has shadow with #2F1F5D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F1F5D on black background.


Color preview on white background

This text has color #2F1F5D on white background.



Black color preview on #2F1F5D background

This text has black color on #2F1F5D background.


White color preview on #2F1F5D background

This text has white color on #2F1F5D background.