CreatePalette()
Syntax
Result = CreatePalette(#Palette)Description
Create a new, empty 256 colors palette. If #PB_Any is used as '#Palette' parameter, the new palette number will be returned as 'Result'. The palette is initialized with the color 0. If 'Result' is 0 the #Palette creation has failed. The previous #Palette object is automatically freed.
Supported OS
Windows, AmigaOS, Linux