COLOR #2D135F

HEX: #2D135F
RGB: (45,19,95)

Color info

#2D135F contains mainly red and blue colors. Web safe color of #2D135F is #330066 (or #306).

RGB color model

#2D135F color RGB value is (45,19,95).

  • red value is 45;
  • green value is 19;
  • blue value is 95.
RGB:
(45,19,95)
(18%,7%,37%)

RGB channels and saturation

R 45 of 255 = 18%
G 19 of 255 = 7%
B 95 of 255 = 37%

45
19
95

R + G + B ~ 21%. #2D135F is dark color.

Portions of RGB colors in percentages

R + G + B =
45 + 19 + 95 = 159 (100%)
R 45 of 159 ~ 28.3%
G 19 of 159 ~ 11.95%
B 95 of 159 ~ 59.75%

%28.3
%11.95
%59.75

CMYK color model

#2D135F color CMYK value is (53,80,0,63).

  • cyan value is 52.63%
  • magenta value is 80.00%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK:
(53,80,0,63)
C53M80Y0K63 
(53%,80%,0%,63%)
(0.53/0.80/0.00/0.63)	

CMYK percentages

%52.63
%80
%0
%62.75

Codes

Color #2D135F in popluar color models

2D135F
RGB451995
HSL261°66.67%22.35%
HSB/HSV261°80.00%37.25%
CMYK52.63%80.00%0.00%
62.75%

Color #2D135F in popluar number systems.

HEX2D135F
Decimal451995
Binary101101100111011111
Octal5523137

Shades and tints

Shades of #2D135F

#2D135F
(45,19,95)
#291257
(41,18,87)
#25114F
(37,17,79)
#211047
(33,16,71)
#1D0F3F
(29,15,63)
#190E37
(25,14,55)
#150D2F
(21,13,47)
#110C27
(17,12,39)
#0D0B1F
(13,11,31)
#090A17
(9,10,23)
#05090F
(5,9,15)
#000000
(0,0,0)

Tints of #2D135F

#2D135F
(45,19,95)
#40286D
(64,40,109)
#533D7B
(83,61,123)
#665289
(102,82,137)
#796797
(121,103,151)
#8C7CA5
(140,124,165)
#9F91B3
(159,145,179)
#B2A6C1
(178,166,193)
#C5BBCF
(197,187,207)
#D8D0DD
(216,208,221)
#EBE5EB
(235,229,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2D135F color. Also use rgb(45,19,95) instead hex code.

Text Font Color

.myTextColor { color: #2D135F; }

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

This text font color is #2D135F.


Background Color

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

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

This div background color is #2D135F.


Border color

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

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

This div border color is #2D135F.


Opacity

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

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

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

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

This text has shadow with #2D135F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2D135F on black background.


Color preview on white background

This text has color #2D135F on white background.



Black color preview on #2D135F background

This text has black color on #2D135F background.


White color preview on #2D135F background

This text has white color on #2D135F background.