Constructs a new indexed palette given an array of RGB values.
@param colors the array of <code>RGB</code>s for the palette
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the argument is null</li> </ul>
See Implementation
Constructs a new indexed palette given an array of RGB values.
@param colors the array of <code>RGB</code>s for the palette
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the argument is null</li> </ul>