wml::sup::hextriple(3)

wml::sup::hextriple3

Convert #rrggbb string to rgb value and vice versa

Usage

 #use wml::sup::hextriple
 <: ($r, $g, $b) = &triple2rgb($triple); :>
 <: $triple = &rgb2triple($r, $g, $b); :>

Overview

This converts between the strings "RRGGBB" or "#RRGGBB" and the corresponding hextriple consisting of the value for red, green and blue.

Requires

 Internal: P1, P3
 External: --

Releases

15 releases since Debian 2.0 (Hamm); the text changed 12 times.

  1. 2.0
  2. 2.1
  3. 2.2
  4. 3.0
  5. 3.1
  6. 4.0
  7. 5.0
  8. 6.0
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11–13

Author

 Ralf S. Engelschall
 [email protected]
 www.engelschall.com

From wml 2.32.0~ds1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.