> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/docs/apps/llms.txt > Use this file to discover all available pages before exploring further. # getDesignColors API reference for the getDesignColors method. Retrieves the colors currently used in the design. ## Usage: Get design colors ```typescript import { getDesignColors } from "@canva/design"; const { colors } = await getDesignColors(); ``` ## Returns . This is a `Promise` that resolves with the following object: The colors used by elements in the current design. Not all elements are included, and the colors returned may change. The order of colors is not guaranteed. A solid color from the user's design. The only valid value is `"solid"`. The hexadecimal code representing the color. This is a 6 character code prefixed with a `#` symbol. **Example** ```ts "#ffffff" ``` Represents a color type that is currently not supported by the SDK. One entry is returned per unsupported color in the design (no deduplication). The only valid value is `"unsupported"`. ## Permissions To use this method, the `canva:design:content:read` permission must be enabled for the app. To learn more, see [Permissions](https://www.canva.dev/docs/apps/configuring-intents-permissions/).