Цвет #fff, #ffffff по шестнадцатеричному коду hex
В аддитивной цветовой модели RGB цвет #ffffff (шестнадцатеричный код – hexadecimal triplet code) состоит на 100% (255) из красного (red), на 100% (255) из зеленого (green) и на 100% (255) из синего (blue). Аналогично, в моделе CMYK, цвет состоит из 0% сине-зелёного (cyan), 0% маджента (magenta), 0% жёлтого (yellow) и 0% чёрного (black). В цветовой модели HSL представлен значениями: тон (hue) – 0°, насыщеность (brightness) – 0% и светлота (lightness/intensity) – 100%. Представление #ffffff в Win32 имеет вид: DWORD COLORREF C=0x00ffffff . В десятичном виде имеет значение 16777215 .
#ffffff относится к числу цветов из безопасной палитры Netscape (web-safe colors). Цвет #ffffff представлен в списке цветов X11 – White, может встречаться под следующими названиями: Белый, White.
красный / red = 255 (100%)
HTML Цвета
На данной странице представлены специальные ключевые слова, которые можно применять для обозначения того или иного цвета на интернет сайтах, и при разработке на языках программирования для Web, таких как HTML, CSS, JavaScript, Flash, и др.
В ранних спецификациях W3C было определено всего 16 ключевых цветов. В более поздних спецификациях дополнительно было определено ещё 130 различных названий цветов. Следующая таблица содержит имена, и образцы цветов, которые ассоциируются с этими именами.
Таблица HTML цветов
Имена цветов в HTML не чувствительны к регистру, и могут записываться в любой форме
Также стоит отметить, что имея 147 различных ключевых слов (17 старых и 130 новых), не все цвета в этом списке уникальны. Некоторые имена обозначают один и тот же цвет. Так, например, и Grey, и Gray обозначают 50-процентный серый цвет #808080, а Magenta — это лишь синоним HTML цвета Fuchsia, и ссылается на шестнадцатеричный код цвета #FF00FF.
#ffffff Color Information
In a RGB color space, hex #ffffff (also known as White) is composed of 100% red, 100% green and 100% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 0% magenta, 0% yellow and 0% black. It has a hue angle of 0 degrees, a saturation of 0% and a lightness of 100%. #ffffff color hex could be obtained by blending #ffffff with #ffffff. #ffffff (or #fff) is a websafe color.

♥
- f
- t
- g
● #ffffff color description : White.
#ffffff Color Conversion
The hexadecimal color #ffffff has RGB values of R:255, G:255, B:255 and CMYK values of C:0, M:0, Y:0, K:0. Its decimal value is 16777215.
| Hex triplet | ffffff | #ffffff |
|---|---|---|
| RGB Decimal | 255, 255, 255 | rgb(255,255,255) |
| RGB Percent | 100, 100, 100 | rgb(100%,100%,100%) |
| CMYK | 0, 0, 0, 0 | |
| HSL | 0°, 0, 100 | hsl(0,0%,100%) |
| HSV (or HSB ) | 0°, 0, 100 | |
| Web Safe | ffffff | #ffffff |
| CIE-LAB | 100, -0, -0.009 |
|---|---|
| XYZ | 95.047, 100, 108.897 |
| xyY | 0.313, 0.329, 100 |
| CIE- LCH | 100, 0.009, 266.929 |
| CIE-LUV | 100, -0.006, -0.013 |
| Hunter-Lab | 100, -5.342, 5.435 |
| Binary | 11111111, 11111111, 11111111 |
Color Schemes with #ffffff
#d9d9d9rgb(217,217,217)
#e6e6e6rgb(230,230,230)
#f2f2f2rgb(242,242,242)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
Alternatives to #ffffff
Below, you can see some colors close to #ffffff. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#f7f7f7rgb(247,247,247)
#fafafargb(250,250,250)
#fcfcfcrgb(252,252,252)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffff Preview
Text with hexadecimal color #ffffff
This text has a font color of #ffffff.
Text here
#ffffff background color
This paragraph has a background color of #ffffff.
Content here
#ffffff border color
This element has a border color of #ffffff.
Content here
CSS codes
.text
.background
.border
Shades and Tints of #ffffff
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000000 is the darkest color, while #ffffff is the lightest one.
#000000rgb(0,0,0)
#0a0a0argb(10,10,10)
#141414rgb(20,20,20)
#1f1f1frgb(31,31,31)
#292929rgb(41,41,41)
#333333rgb(51,51,51)
#3d3d3drgb(61,61,61)
#474747rgb(71,71,71)
#525252rgb(82,82,82)
#5c5c5crgb(92,92,92)
#666666rgb(102,102,102)
#707070rgb(112,112,112)
#7a7a7argb(122,122,122)
#858585rgb(133,133,133)
#8f8f8frgb(143,143,143)
#999999rgb(153,153,153)
#a3a3a3rgb(163,163,163)
#adadadrgb(173,173,173)
#b8b8b8rgb(184,184,184)
#c2c2c2rgb(194,194,194)
#ccccccrgb(204,204,204)
#d6d6d6rgb(214,214,214)
#e0e0e0rgb(224,224,224)
#ebebebrgb(235,235,235)
#f5f5f5rgb(245,245,245)
#ffffffrgb(255,255,255)
Tones of #ffffff
A tone is produced by adding gray to any pure hue. In this case, #ffffff is the less saturated color, while #ffffff is the most saturated one.
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
#ffffffrgb(255,255,255)
Color Blindness Simulator
Below, you can see how #ffffff is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
- #ffffff Achromatopsia 0.005% of the population
- #ffffff Atypical Achromatopsia 0.001% of the population
- #fffffe Protanopia 1% of men
- #fefffe Deuteranopia 1% of men
- #feffff Tritanopia 0.001% of the population
- #fffffe Protanomaly 1% of men, 0.01% of women
- #fefffe Deuteranomaly 6% of men, 0.4% of women
- #feffff Tritanomaly 0.01% of the population
Colors in HTML
Color numbers are specified using hexadecimal (base 16) values.
The hexidecimal digits are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
(where A through F equal the base 10 numbers: 10, 11, 12, 13, 14, 15)
The six digit color number is broken into three groups of two digits which specify the amount of Red, Green, and Blue in the color (using additive color. the way colored lights mix, not the way color pigments mix). Each two digit hex pair can have a value from 00 to FF (FF=256 in base 10). This gives over 16 million possible colors.
# FF 00 00 means FF worth of Red, and no Green or Blue. The result is RED .
# 00 00 FF means no Red or Green, and FF worth of Blue. The result is BLUE .
# FF FF 00 means FF worth of Red and Green, and Blue. The result is YELLOW .
# 00 00 00 means no Red, Green, or Blue. The result is BLACK .
# FF FF FF means full FF amounts of Red, Green, and Blue. The result is WHITE .
# FF EF D5 has high values for all colors, giving a light result: PAPAYAWHIP .
(no, I don’t know who thought up the color names.)
# 55 6B 2F has lower values for all colors, giving a darker result: DARKOLIVEGREEN .
Note that is is OK to use either uppercase or lowercase letters for the base-16 digits A, B, C, D, E, F.
HTML also recognizes color numbers that contain just three hexidecimal digits. This is a shortcut for colors where the red, green, and blue values consist of two identical digits. Example:
# 0 0 F is the same as: # 00 00 FF and is BLUE .
# F F 0 is the same as: # FF FF 00 and is YELLOW .
# 6 B 5 is the same as: # 66 BB 55 and is THIS COLOR .
# 0 0 0 is BLACK . # F F F is WHITE .
# 6 6 6 is a DARK GRAY . # A A A is a light LIGHT GRAY .
NOTE! Always remember to put in the # symbol when specifying color numbers. Older versions of HTML didn’t care if you left it out, but some browsers are stricter about this, and f you forget the # sign the browser may not display the color you requested.
Web Safe Colors
Nowadays, computers/monitors can display thousands or millions of colors, so the concept of «Web safe colors» is no longer important. But years ago, many computers were limited to displaying «8-bit color» and could only show 256 possible colors. Even worse, different computer systems (PC, Mac, UNIX workstations) don’t even use the same 256 colors in their «color palettes,» so you couldn’t be sure what your color will be shifted to.
To avoid problems for older machines and different system color palettes, early Web designers usually limited their color choices to the 216 «web safe colors» which would display more or less the same on all systems. The web safe colors use only the hex values 00, 33, 66, 99, CC, and FF when making color combinations.
Of the examples shown earlier,
# FF EF D5 ( PAPAYAWHIP ) and
# 55 6B 2F ( DARKOLIVEGREEN )
. are not web safe colors. They would get shifted to
# FF FF CC ( NOT PAPAYAWHIP ) and
# 66 66 33 ( NOT DARKOLIVEGREEN )
. on ancient systems.
Below are six tables showing all of the 216 «web safe» colors, just to show you a range of colors compared to their hex values.
Within each table, red increases from left to right, and green increases from top to bottom, in steps of 33 (hex).
Blue increases from the first table to the last, in steps of 33 (hex).
| #000000 | #330000 | #660000 | #990000 | #CC0000 | #FF0000 |
| #003300 | #333300 | #663300 | #993300 | #CC3300 | #FF3300 |
| #006600 | #336600 | #666600 | #996600 | #CC6600 | #FF6600 |
| #009900 | #339900 | #669900 | #999900 | #CC9900 | #FF9900 |
| #00CC00 | #33CC00 | #66CC00 | #99CC00 | #CCCC00 | #FFCC00 |
| #00FF00 | #33FF00 | #66FF00 | #99FF00 | #CCFF00 | #FFFF00 |
| #000033 | #330033 | #660033 | #990033 | #CC0033 | #FF0033 |
| #003333 | #333333 | #663333 | #993333 | #CC3333 | #FF3333 |
| #006633 | #336633 | #666633 | #996633 | #CC6633 | #FF6633 |
| #009933 | #339933 | #669933 | #999933 | #CC9933 | #FF9933 |
| #00CC33 | #33CC33 | #66CC33 | #99CC33 | #CCCC33 | #FFCC33 |
| #00FF33 | #33FF33 | #66FF33 | #99FF33 | #CCFF33 | #FFFF33 |
| #000066 | #330066 | #660066 | #990066 | #CC0066 | #FF0066 |
| #003366 | #333366 | #663366 | #993366 | #CC3366 | #FF3366 |
| #006666 | #336666 | #666666 | #996666 | #CC6666 | #FF6666 |
| #009966 | #339966 | #669966 | #999966 | #CC9966 | #FF9966 |
| #00CC66 | #33CC66 | #66CC66 | #99CC66 | #CCCC66 | #FFCC66 |
| #00FF66 | #33FF66 | #66FF66 | #99FF66 | #CCFF66 | #FFFF66 |
| #000099 | #330099 | #660099 | #990099 | #CC0099 | #FF0099 |
| #003399 | #333399 | #663399 | #993399 | #CC3399 | #FF3399 |
| #006699 | #336699 | #666699 | #996699 | #CC6699 | #FF6699 |
| #009999 | #339999 | #669999 | #999999 | #CC9999 | #FF9999 |
| #00CC99 | #33CC99 | #66CC99 | #99CC99 | #CCCC99 | #FFCC99 |
| #00FF99 | #33FF99 | #66FF99 | #99FF99 | #CCFF99 | #FFFF99 |
| #0000CC | #3300CC | #6600CC | #9900CC | #CC00CC | #FF00CC |
| #0033CC | #3333CC | #6633CC | #9933CC | #CC33CC | #FF33CC |
| #0066CC | #3366CC | #6666CC | #9966CC | #CC66CC | #FF66CC |
| #0099CC | #3399CC | #6699CC | #9999CC | #CC99CC | #FF99CC |
| #00CCCC | #33CCCC | #66CCCC | #99CCCC | #CCCCCC | #FFCCCC |
| #00FFCC | #33FFCC | #66FFCC | #99FFCC | #CCFFCC | #FFFFCC |
| #0000FF | #3300FF | #6600FF | #9900FF | #CC00FF | #FF00FF |
| #0033FF | #3333FF | #6633FF | #9933FF | #CC33FF | #FF33FF |
| #0066FF | #3366FF | #6666FF | #9966FF | #CC66FF | #FF66FF |
| #0099FF | #3399FF | #6699FF | #9999FF | #CC99FF | #FF99FF |
| #00CCFF | #33CCFF | #66CCFF | #99CCFF | #CCCCFF | #FFCCFF |
| #00FFFF | #33FFFF | #66FFFF | #99FF9FF | #CCFFFF | #FFFFFF |