Nice! Here's my re-ordered CGA palette I made awhile ago you can put right into config.lua:
local CGA =
"000000".."AA0000".."0000AA".."555555".."AA5500".."00AA00".."FF5555".."AAAAAA"..
"5555FF".."AA00AA".."00AAAA".."55FF55".."FF55FF".."55FFFF".."FFFF55".."FFFFFF"