Getting the Default Color Palettes

Gets the list of default color palettes. This does not return any custom palettes.

A color is expressed using the RGB color model and an opacity. The RGB color value is the # sign followed by an hexadecimal value. The color opacity value is in the range [0, 255] from opaque to invisible.

Request

GET <webiURL>/configuration/palettes

Response

Response type: application/xml or application/json

Response Body Description Release
<palette name="string">
    <color rgb="#..." alpha="number">
The name is the default palette name. The RGB and alpha values define a palette color. Before 4.1 SP5
<palette>
    <id>
    <colors>
        <color rgb="#..." alpha="number">
<id> represents the default palette identifier. The RGB and alpha values define a palette color. Since 4.1 SP5

Example

Before SP5
<palettes>
    <palette name="SAP Standard 2011">
        <color rgb="#008fd3" alpha="255"/>
        <color rgb="#99d101" alpha="255"/>
        ...
        <color rgb="#61209a" alpha="255"/>
    </palette>
    ...
    <palette name="black&amp;white">
        <color rgb="#5b5b5b" alpha="255"/>
        <color rgb="#d2d2d2" alpha="255"/>
        ...
        <color rgb="#050505" alpha="255"/>
    </palette>
</palettes>

Example

Since SP5
<palettes>
    <palette>
        <id>SAP Standard 2011</id>
        <colors>
            <color rgb="#008fd3" alpha="255"/>
            <color rgb="#99d101" alpha="255"/>
            ...
            <color rgb="#979ca3" alpha="255"/>
        </colors>
    </palette>
    ...
    <palette>
        <id>black&amp;white</id>
        <colors>
            <color rgb="#5b5b5b" alpha="255"/>
            <color rgb="#d2d2d2" alpha="255"/>
            ...
            <color rgb="#050505" alpha="255"/>
        </colors>
    </palette>
</palettes>