| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Converts a color value to a numeric color attribute.
HB_ColorToN( <cColor> ) --> nColorAttribute
The function converts a color value to the corresponding color attribute and returns the attribute as a numeric value.
| See also: | NtoColor() |
| Category: | Screen functions , xHarbour extensions |
| Source: | rtl\setcolor.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com