Шаблон:Shade/bgcolor

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку

Помилка скрипту: Функції «10to16» не існує.Помилка скрипту: Функції «10to16» не існує.Помилка скрипту: Функції «10to16» не існує.

{{i}} Документація шаблону

Calculates an RGB hex triplet naively blended over a (by default) white background, i.e.

The visual properties of a naive (nonlinear) sRGB blend is that color blending with greyscales mostly "work" visually.[1]

{{Shade/bgcolor
|r    = <!-- red color component: 0-255 (default=0) -->
|g    = <!-- green color component: 0-255 (default=0) -->
|b    = <!-- blue color component: 0-255 (default=0) -->
|a    = <!-- color transparency factor: 0.0-1.0 (default=0) -->
|r_bg = <!-- red background color component: 0-255 (default=255) -->
|g_bg = <!-- green background color component: 0-255 (default=255) -->
|b_bg = <!-- blue background color component: 0-255 (default=255) -->
}}
  1. Color gradient algorithm. Stack Overflow. Процитовано 21 липня 2021.