import { COLORS, type ColorId } from "@/data/lists";

export function colorHex(id: ColorId): string {
  return COLORS.find((c) => c.id === id)?.hex ?? COLORS[0].hex;
}

export function colorName(id: ColorId): string {
  return COLORS.find((c) => c.id === id)?.name ?? "";
}
