The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. All Colors with Name and RGB
Public

176
158
176
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors
0
1
# Type your query
NotesNotes

Colors GraphQL API Playground

Play around with the Colors GraphQL API. Try the examples below.

All Colors with Hex Code

query AllColorsWithHexCode {
  colors(order: [name_ASC]) {
    results {
      name
      hexCode
    }
  }
}

Color RGB by its Name

query ColorByName {
  colors(where: { name: { equalTo: "Black olive" } }) {
    results {
      name
      hexCode
      redHex
      greenHex
      blueHex
      redDecimal
      greenDecimal
      blueDecimal
      redFraction
      greenFraction
      blueFraction
    }
  }
}