COLOR #2D257D

HEX: #2D257D
RGB: (45,37,125)

Color info

#2D257D contains mainly blue color. Web safe color of #2D257D is #333366 (or #336).

RGB color model

#2D257D color RGB value is (45,37,125).

  • red value is 45;
  • green value is 37;
  • blue value is 125.
RGB:
(45,37,125)
(18%,15%,49%)

RGB channels and saturation

R 45 of 255 = 18%
G 37 of 255 = 15%
B 125 of 255 = 49%

45
37
125

R + G + B ~ 27%. #2D257D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
45 + 37 + 125 = 207 (100%)
R 45 of 207 ~ 21.74%
G 37 of 207 ~ 17.87%
B 125 of 207 ~ 60.39%

%21.74
%17.87
%60.39

CMYK color model

#2D257D color CMYK value is (64,70,0,51).

  • cyan value is 64.00%
  • magenta value is 70.40%
  • yellow value is 0.00%
  • key color value is 50.98%
CMYK:
(64,70,0,51)
C64M70Y0K51 
(64%,70%,0%,51%)
(0.64/0.70/0.00/0.51)	

CMYK percentages

%64
%70.4
%0
%50.98

Codes

Color #2D257D in popluar color models

2D257D
RGB4537125
HSL245°54.32%31.76%
HSB/HSV245°70.40%49.02%
CMYK64.00%70.40%0.00%
50.98%

Color #2D257D in popluar number systems.

HEX2D257D
Decimal4537125
Binary1011011001011111101
Octal5545175

Shades and tints

Shades of #2D257D

#2D257D
(45,37,125)
#292272
(41,34,114)
#251F67
(37,31,103)
#211C5C
(33,28,92)
#1D1951
(29,25,81)
#191646
(25,22,70)
#15133B
(21,19,59)
#111030
(17,16,48)
#0D0D25
(13,13,37)
#090A1A
(9,10,26)
#05070F
(5,7,15)
#000000
(0,0,0)

Tints of #2D257D

#2D257D
(45,37,125)
#403888
(64,56,136)
#534B93
(83,75,147)
#665E9E
(102,94,158)
#7971A9
(121,113,169)
#8C84B4
(140,132,180)
#9F97BF
(159,151,191)
#B2AACA
(178,170,202)
#C5BDD5
(197,189,213)
#D8D0E0
(216,208,224)
#EBE3EB
(235,227,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2D257D color. Also use rgb(45,37,125) instead hex code.

Text Font Color

.myTextColor { color: #2D257D; }

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

This text font color is #2D257D.


Background Color

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

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

This div background color is #2D257D.


Border color

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

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

This div border color is #2D257D.


Opacity

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

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

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

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

This text has shadow with #2D257D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2D257D on black background.


Color preview on white background

This text has color #2D257D on white background.



Black color preview on #2D257D background

This text has black color on #2D257D background.


White color preview on #2D257D background

This text has white color on #2D257D background.