SysColorCtrl.Get3QuarterLightHex method
The Get3QuarterLightHex method derives a "lighter" color by calculating a color that is blended 75% between a given color and white. The derived color will be a blend of 25% of the given color and 75% white. It is returned as a hexadecimal value.
Syntax
SysColorCtrl.Get3QuarterLightHex( _
ByVal pszFrom, _
ByVal pszFormat _
)
Parameters
-
pszFrom [in]
-
A string that contains the color you want to use as the starting color. The contents of the string depend on the format specified in the pszFormat parameter.
-
pszFormat [in]
-
A string that contains the name of the format that is being passed in the pszFrom parameter.
-
CSS
-
Name of the display element whose color you want to specify. See System Color Values for Color Derivation Methods.
-
HEX
-
Hexadecimal form of the color. For example, specify FFFFFF for white.
-
RGB
-
RGB form of the color. For example, specify 16777215 for white.
Return value
A string that contains the hexadecimal value for the derived color specified by the method's parameters.
Requirements
Redistributable |
MMC 1.1 or later |
DLL |
|