Skip to content

Ondra09/orx-color-pallete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

orx-color-palette

Definitions of HTML colors for ORX engine.

All colors defined in html-colors.ini are defined in r-colors.ini as well and some more.

File namecolors
html-colors.ini148
r-colors.ini558

Colors are sorted to groups so you can find similar color fastly.

./docs/html-colors.png

Usage

Copy html-colors.ini into your .ini folder, typically {project-root}/data/config and include it from your main .ini file.

After include you can refer to color name directly by e.g. @Colors.MediumOrchid.

@html-colors.ini@

[Object]
Color           = @Colors.MediumOrchid

Cool… but why?

It is good when your editor supports visualization of colors and you can prototype without need for switching into painting program with color picker tool. It gives you an option to use colors by their names instead of using those pesky vectors directly.

Example

This image shows color highlighting in Emacs with rainbow-mode enabled.

./docs/emacs.png

About

orx engine color palette definition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published