logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wml::sup::hextriple - Convert #rrggbb String to RGB Value and vice versa

Author

        Ralf S. Engelschall
        rse@engelschall.com
        www.engelschall.com

Description

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

Name

       wml::sup::hextriple - Convert #rrggbb String to RGB Value and vice versa

Requires

        Internal: P1, P3
        External: --

See Also

       HTML color attributes.

EN Tools                                           2020-11-29                             wml::sup::hextriple(3)

Synopsis

        #use wml::sup::hextriple

        <: ($r, $g, $b) = &triple2rgb($triple); :>
        <: $triple = &rgb2triple($r, $g, $b); :>

See Also