I'm currently working on a map-itemframe plugin. I'm trying to draw MapCanvas.drawText with colors the only way i found of doing this is mapCanvas.drawText(15, 15, MinecraftFont.Font, "ยง" + (one of MapPallete color codes) + text); The problem with this is that MapPallete colors https://hub.spigotmc.org/javadocs/spigot/org/bukkit/map/MapPalette.html aren't similar to ChatColor colors at all. Is there any way to display RGB colors or ChatColor colors using MapPallete or mapCanvas.drawText?
Not sure about the answer to your question, but here are the map colors: https://minecraft.gamepedia.com/Map_item_format#1.12_Color_Table (click on the 'Show' link to open the table) Map color IDs are 0 to 207 and result in the colors shown in the table.