Login Page - Create Account

Support Board


Date/Time: Mon, 13 May 2024 23:23:20 +0000



Post From: RGB colors

[2014-09-28 22:48:37]
marcovth - Posts: 61
This the way to make a given color a bit darker ...

int rc = GetRValue(bar.PrimaryColor); if(rc>=100) rc=rc-75;
int gc = GetGValue(bar.PrimaryColor); if(gc>=100) gc=gc-75;
int bc = GetBValue(bar.PrimaryColor); if(bc>=100) bc=bc-75;

bar.DataColor=RGB(rc,gc,bc);