-- lx-bundle:true

-- This file is part of Lx, created by Liqube <www.liqube.com>
-- Copyright Liqube Audio. All rights reserved.
-- Lx Interim License. See LICENSE for details.

--- Built-in xcolor base names
-- @module core.colors.xcolor_base

local colors = require("core.colors")
local COLOR_RGBF = colors.COLOR_RGBF
local COLOR_GRAYF = colors.COLOR_GRAYF
local COLOR_CMYKF = colors.COLOR_CMYKF

return {
	names = {
		["red"] = { COLOR_RGBF, 1, 0, 0 },
		["green"] = { COLOR_RGBF, 0, 1, 0 },
		["blue"] = { COLOR_RGBF, 0, 0, 1 },
		["brown"] = { COLOR_RGBF, 0.75, 0.5, 0.25 },
		["lime"] = { COLOR_RGBF, 0.75, 1, 0 },
		["orange"] = { COLOR_RGBF, 1, 0.5, 0 },
		["pink"] = { COLOR_RGBF, 1, 0.75, 0.75 },
		["purple"] = { COLOR_RGBF, 0.75, 0, 0.25 },
		["teal"] = { COLOR_RGBF, 0, 0.5, 0.5 },
		["violet"] = { COLOR_RGBF, 0.5, 0, 0.5 },
		["cyan"] = { COLOR_CMYKF, 1, 0, 0, 0 },
		["magenta"] = { COLOR_CMYKF, 0, 1, 0, 0 },
		["yellow"] = { COLOR_CMYKF, 0, 0, 1, 0 },
		["olive"] = { COLOR_CMYKF, 0, 0, 1, 0.5 },
		["black"] = { COLOR_GRAYF, 0 },
		["darkgray"] = { COLOR_GRAYF, 0.25 },
		["gray"] = { COLOR_GRAYF, 0.5 },
		["lightgray"] = { COLOR_GRAYF, 0.75 },
		["white"] = { COLOR_GRAYF, 1 },
	},
}
