API Documentation > CorelDRAW > 2025-v26 > Color > IVGColor
Color.PaletteAssign method
Assigns a color from a specific palette
Syntax:
Sub PaletteAssign(ByVal PaletteIdentifier As String, ByVal ColorIndex As Long)
Parameters:
Name Type Description
PaletteIdentifier
String
ColorIndex
Long
Remarks:
The PaletteAssign method assigns the specified color from the specified palette. A color is an effect applied to an object that alters the object's appearance by the way it reflects light. A color model is a system that defines the number and type of colors that make up an image and that is used to organize and define colors according to a set of basic properties that can be reproduced. Black-and-white, grayscale, RGB, CMYK, and paletted are examples of popular color modes.