types.artifact.com · Thing › CreativeWork › Palette

Palette

An ordered set of colors, each with a value and an optional name.

Properties

PropertyExpectedDescription
name requiredTextThe name of the item.
colors requiredColorThe palette's colors, in order. The order is part of the palette.
descriptionText or TextObjectA description of the item.
creatorOrganization or PersonThe creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.
keywordsDefinedTerm or Text or URLKeywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.
urlURLURL of the item.

Every property of CreativeWork, Thing applies too.

Media types

text/vnd.menagerie.colors (former; read, not written)

Example

{
  "@context": "https://types.artifact.com/context.jsonld",
  "@type": "Palette",
  "name": "Herbarium",
  "colors": [
    {
      "@type": "Color",
      "colorValue": "#1f5a3f",
      "name": "Forest"
    },
    {
      "@type": "Color",
      "colorValue": "oklch(94% 0.02 110)",
      "name": "Paper"
    },
    {
      "@type": "Color",
      "colorValue": "#c2410c",
      "name": "Rust"
    }
  ]
}

JSON Schema: Palette.schema.json

As JSON-LD: Palette.jsonld