Created
February 3, 2021 00:41
-
-
Save VictorWesterlund/3b47ce5fc7b9f87daa78d8b92f1d933a to your computer and use it in GitHub Desktop.
Full CGA 16-color palette in CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cga-palette { | |
/* low intensity */ | |
--black: #000000; | |
--blue: #0000AA; | |
--green: #00AA00; | |
--cyan: #00AAAA; | |
--red: #AA0000; | |
--magenta: #AA00AA; | |
--brown: #AA5500; | |
--light-gray: #AAAAAA; | |
/* high intensity */ | |
--dark-gray: #555555; | |
--light-blue: #5555FF; | |
--light-green: #55FF55; | |
--light-cyan: #55FFFF; | |
--light-red: #FF5555; | |
--light-magenta: #FF55FF; | |
--yellow: #FFFF55; | |
--white: #FFFFFF; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment