COLOR #251D54

HEX: #251D54
RGB: (37,29,84)

Color info

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

RGB color model

#251D54 color RGB value is (37,29,84).

  • red value is 37;
  • green value is 29;
  • blue value is 84.
RGB:
(37,29,84)
(15%,11%,33%)

RGB channels and saturation

R 37 of 255 = 15%
G 29 of 255 = 11%
B 84 of 255 = 33%

37
29
84

R + G + B ~ 20%. #251D54 is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 29 + 84 = 150 (100%)
R 37 of 150 ~ 24.67%
G 29 of 150 ~ 19.33%
B 84 of 150 ~ 56%

%24.67
%19.33
%56

CMYK color model

#251D54 color CMYK value is (56,65,0,67).

  • cyan value is 55.95%
  • magenta value is 65.48%
  • yellow value is 0.00%
  • key color value is 67.06%
CMYK:
(56,65,0,67)
C56M65Y0K67 
(56%,65%,0%,67%)
(0.56/0.65/0.00/0.67)	

CMYK percentages

%55.95
%65.48
%0
%67.06

Codes

Color #251D54 in popluar color models

251D54
RGB372984
HSL249°48.67%22.16%
HSB/HSV249°65.48%32.94%
CMYK55.95%65.48%0.00%
67.06%

Color #251D54 in popluar number systems.

HEX251D54
Decimal372984
Binary100101111011010100
Octal4535124

Shades and tints

Shades of #251D54

#251D54
(37,29,84)
#221B4D
(34,27,77)
#1F1946
(31,25,70)
#1C173F
(28,23,63)
#191538
(25,21,56)
#161331
(22,19,49)
#13112A
(19,17,42)
#100F23
(16,15,35)
#0D0D1C
(13,13,28)
#0A0B15
(10,11,21)
#07090E
(7,9,14)
#000000
(0,0,0)

Tints of #251D54

#251D54
(37,29,84)
#383163
(56,49,99)
#4B4572
(75,69,114)
#5E5981
(94,89,129)
#716D90
(113,109,144)
#84819F
(132,129,159)
#9795AE
(151,149,174)
#AAA9BD
(170,169,189)
#BDBDCC
(189,189,204)
#D0D1DB
(208,209,219)
#E3E5EA
(227,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #251D54 color. Also use rgb(37,29,84) instead hex code.

Text Font Color

.myTextColor { color: #251D54; }

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

This text font color is #251D54.


Background Color

.myBgColor { background-color: #251D54; }

<div style="background-color:#251D54">Inner text</div>

This div background color is #251D54.


Border color

.myBorderColor { border: 1px solid #251D54; }

<div style="border:3px solid #251D54">Div</div>

This div border color is #251D54.


Opacity

.myOpacity80 { color: #251D54; opacity: 0.8; }

<p style="color:#251D54;opacity:0.8;">80%</p>

Text with #251D54 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 #251D54;}

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

This text has shadow with #251D54 color.

.textShadow {text-shadow: 3px 3px 1px #251D54, 3px 3px 1px red;}

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

This text has shadow with #251D54 primary color and red secondary color.


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

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

This text has shadow with #251D54 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #251D54 on black background.


Color preview on white background

This text has color #251D54 on white background.



Black color preview on #251D54 background

This text has black color on #251D54 background.


White color preview on #251D54 background

This text has white color on #251D54 background.