JCL Help:DarkColor

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Darkens a color by a percentage.


Pascal

 function DarkColor(const Color: TColor; const Pct: Single): TColor;


Parameters

Parameters Description
const Color: TColor The color to darken.
const Pct: Single The percentage with which to darken the color. Percentage should be between 0 and 100.0.


Return Value

The darkened color.


Description

DarkColor darkens a color by a certain percentage.


See Also

BrightColor BrightColorChannel DarkColorChannel


About

Unit

JclGraphUtils


Donator

Pelle F. S. Liljendal


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page