Documentation

RgbTint
in package

Class to handle tint applied to color.

Code borrows heavily from some Python projects.

Tags
see
https://docs.python.org/3/library/colorsys.html
see
https://gist.github.com/Mike-Honey/b36e651e9a7f1d2e1d60ce1c63b9b633

Table of Contents

Methods

rgbAndTintToRgb()  : string
Return result of tinting supplied rgb as 6 hex digits.

Methods

rgbAndTintToRgb()

Return result of tinting supplied rgb as 6 hex digits.

public static rgbAndTintToRgb(int $red, int $green, int $blue, float $tint) : string
Parameters
$red : int
$green : int
$blue : int
$tint : float
Return values
string

        
On this page

Search results