Warning: Invalid argument supplied for foreach() in /home/jihswbiz/public_html/t6.gwilt.org/refDox.php on line 212
Docs-colorLstar

 

ReLoad

Keys


Functions

arraybrowsercolorcookiedatetimeDBdebugdeviceDSTequiverrorflagsfontformatgeo
holidayhtmlisjsonmathparsePHPprintsearchsortstringtabletexttracetype
VOTDweatherxml

Function  colorLstar   Lines 537-549 (12 lines)Added: 2021-02-19 file  utils.php   Last mod: Fri 2021-05-14 21:45:07

function colorLstar $col )
        {
#-k     color
#-      Given a color find its L* (perceptual lightness)
#-p     $col    - req   - Hex RGB color (Must be in the form #hhhhhh)
#-p             - ret   - L*
#-c     Myindex response 2019-06-19 on https://stackoverflow.com/questions/596216/formula-to-determine-brightness-of-rgb-color
#-d     2/19/21 - Added

        
$Y colorLuminance $col );
        return 
colorYtoLstar $Y );                    # perceived lightness
        
}

?>