Google Sheets · Schema

Color

Represents a color in the RGBA color space. Values are in the range [0, 1].

Google WorkspaceProductivitySpreadsheets

Properties

Name Type Description
red number The amount of red in the color as a value in the range [0, 1].
green number The amount of green in the color as a value in the range [0, 1].
blue number The amount of blue in the color as a value in the range [0, 1].
alpha number The fraction of this color that should be applied to the pixel. A value of 1.0 corresponds to a solid color.
View JSON Schema on GitHub

JSON Schema

google-sheets-color-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Color",
  "type": "object",
  "description": "Represents a color in the RGBA color space. Values are in the range [0, 1].",
  "properties": {
    "red": {
      "type": "number",
      "description": "The amount of red in the color as a value in the range [0, 1]."
    },
    "green": {
      "type": "number",
      "description": "The amount of green in the color as a value in the range [0, 1]."
    },
    "blue": {
      "type": "number",
      "description": "The amount of blue in the color as a value in the range [0, 1]."
    },
    "alpha": {
      "type": "number",
      "description": "The fraction of this color that should be applied to the pixel. A value of 1.0 corresponds to a solid color."
    }
  }
}