/** @jsx jsx */ import { jsx } from "theme-ui" import useColorUtils from "../hooks/useColorUtils" import useSpecimensConfig from "../hooks/useSpecimensConfig" import Badge from "./badge" import theme from "../theme" type ColorRowProps = { color: string name: string prefix?: string } const ColorRow = ({ color, name, prefix = `` }: ColorRowProps) => { const { hex, RGB, CMYK } = useColorUtils(color) const specimensOptions = useSpecimensConfig() return (