Skip to main content

spo brandcenter colors list

Lists the brand center colors

Usage

m365 spo brandcenter colors list [options]

Options

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, permissions, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Permissions

ResourcePermissions
SharePointAllSites.Read

Remarks

If the brand colors list has not been created yet in the Brand Center, the command will return an empty array.

Examples

List all brand center colors

m365 spo brandcenter colors list

Response

[
{
"Title": "Primary",
"ColorCode": "#0078D4",
"IsVisible": true
},
{
"Title": "Secondary",
"ColorCode": "#FF4500",
"IsVisible": false
}
]