0
1
# Type your query
Play around with the Colors GraphQL API. Try the examples below.
query AllColorsWithHexCode {
colors(order: [name_ASC]) {
results {
name
hexCode
}
}
}
query ColorByName {
colors(where: { name: { equalTo: "Black olive" } }) {
results {
name
hexCode
redHex
greenHex
blueHex
redDecimal
greenDecimal
blueDecimal
redFraction
greenFraction
blueFraction
}
}
}