COLOR #251A40

HEX: #251A40
RGB: (37,26,64)

Color info

#251A40 contains red, green and blue colors in about the same proportion. Web safe color of #251A40 is #330033 (or #303).

RGB color model

#251A40 color RGB value is (37,26,64).

  • red value is 37;
  • green value is 26;
  • blue value is 64.
RGB:
(37,26,64)
(15%,10%,25%)

RGB channels and saturation

R 37 of 255 = 15%
G 26 of 255 = 10%
B 64 of 255 = 25%

37
26
64

R + G + B ~ 17%. #251A40 is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 26 + 64 = 127 (100%)
R 37 of 127 ~ 29.13%
G 26 of 127 ~ 20.47%
B 64 of 127 ~ 50.39%

%29.13
%20.47
%50.39

CMYK color model

#251A40 color CMYK value is (42,59,0,75).

  • cyan value is 42.19%
  • magenta value is 59.38%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(42,59,0,75)
C42M59Y0K75 
(42%,59%,0%,75%)
(0.42/0.59/0.00/0.75)	

CMYK percentages

%42.19
%59.38
%0
%74.9

Codes

Color #251A40 in popluar color models

251A40
RGB372664
HSL257°42.22%17.65%
HSB/HSV257°59.38%25.10%
CMYK42.19%59.38%0.00%
74.90%

Color #251A40 in popluar number systems.

HEX251A40
Decimal372664
Binary100101110101000000
Octal4532100

Shades and tints

Shades of #251A40

#251A40
(37,26,64)
#22183B
(34,24,59)
#1F1636
(31,22,54)
#1C1431
(28,20,49)
#19122C
(25,18,44)
#161027
(22,16,39)
#130E22
(19,14,34)
#100C1D
(16,12,29)
#0D0A18
(13,10,24)
#0A0813
(10,8,19)
#07060E
(7,6,14)
#000000
(0,0,0)

Tints of #251A40

#251A40
(37,26,64)
#382E51
(56,46,81)
#4B4262
(75,66,98)
#5E5673
(94,86,115)
#716A84
(113,106,132)
#847E95
(132,126,149)
#9792A6
(151,146,166)
#AAA6B7
(170,166,183)
#BDBAC8
(189,186,200)
#D0CED9
(208,206,217)
#E3E2EA
(227,226,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #251A40 color. Also use rgb(37,26,64) instead hex code.

Text Font Color

.myTextColor { color: #251A40; }

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

This text font color is #251A40.


Background Color

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

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

This div background color is #251A40.


Border color

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

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

This div border color is #251A40.


Opacity

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

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

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

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

This text has shadow with #251A40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #251A40 on black background.


Color preview on white background

This text has color #251A40 on white background.



Black color preview on #251A40 background

This text has black color on #251A40 background.


White color preview on #251A40 background

This text has white color on #251A40 background.