API Documentation > CorelDRAW > 2025-v26 > Layer > IVGLayer
Layer.Color property
Gets or sets the layer override color
Syntax:
Property Get Color() As Color
Property Set Color(ByVal Value As Color)
Remarks:
The Color property returns or specifies the override color of a layer.
Examples:
The following VBA example sets the color-override feature to True in the active layer and the override color to RGB Red.
Sub Test()
ActiveLayer.OverrideColor = True
ActiveLayer.Color.RGBAssign 255, 0, 0 
End Sub