API Documentation > CorelDRAW > 2025-v26 > Page > IVGPage
Page.Color property
Gets or sets the page color
Syntax:
Property Get Color() As Color
Property Set Color(ByVal Value As Color)
Remarks:
The Color property returns or specifies the background color of a page. The Color property applies only if the Background property is set to cdrPageBackgroundSolid.
Examples:
The following VBA example creates a red background in the master page of the active document. Applying a red background to the master page applies that background to every page in the document.
Sub Test()
ActiveDocument.Pages(0).Color.RGBAssign 255, 0, 0 
End Sub