.. highlightlang:: us .. index:: FontSetColorRGB .. _fontsetcolorrgb: FontSetColorRGB =============== .. us.tag FontSetColorRGB NOTREADYENGLISH FontSet :ref:`FontSetColorRGB` sets the font color. .. function:: bool = FontSetColorRGB(hFont, rvColorRGB) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hFont Identifies the font. .. uparam:: rvColorRGB *rvColorRGB* specifies the color of the font. *rvColorRGB* is a vector with three elements: .. list-table:: :header-rows: 1 * - Value - Meaning * - rvColorRGB[1] - Red (0 to 255) * - rvColorRGB[2] - Green (0 to 255) * - rvColorRGB[3] - Blue (0 to 255) .. seealso:: :ref:`overview-fonts`, :ref:`FontCreate`, :ref:`FontDialog`, :ref:`FontGetColorRGB` :sub:`id-1207154`