< Public Function GreyScale (Lightness As Variant) As Long (?)

Comments

'-------------------------------------------------------------- 'Return a grey color of given lightness '--------------------------------------------------------------

Public Function GreyScale (Lightness As Variant) As Long

    GreyScale = RGB(255 * Lightness, 255 * Lightness, 255 * Lightness)
End Function


Copying, Return to index