hello@defzone.netLien he
DZ
DefZone.Net

Kien thuc cong nghe & giai tri

Bai vietDia diemAlbum anhGameCua hang
  1. Home
  2. Wiki
Template documentation[view] [edit] [history] [purge]

Usage

[edit]

Lightens a color component. This template can be substituted.

Input:

  • first parameters: a single RGB color component value to lighten, numeric and in range 0..255
  • second parameter: amount by which to lighten in % (0 = no change, 100 = white)

Output:

  • lightened component value as decimal

Example

[edit]
  • {{lighten1|180| 0 }} gives 180
  • {{lighten1|180| 20}} gives 195
  • {{lighten1|180| 50}} gives 218
  • {{lighten1|180| 80}} gives 240
  • {{lighten1|180|100}} gives 255

See also

[edit]
  • {{Lighten}}
The above documentation is transcluded from Template:Lighten1/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
DZ
DefZone.Net

Noi chia se kien thuc, huong dan va kham pha cong nghe.

Lien ket nhanh

Trang chủBài viếtWikiCua hangLien he

Lien he

Email: hello@defzone.net
Dien thoai: +84 999 999 999
Dia chi: 123 Duong Cong Nghe, Ha Noi

Dang ky nhan tin

Nhan bai viet va cap nhat moi nhat qua email.

© 2025 DefZone.Net. All rights reserved.
PrivacyTermsSitemap