Skip to main content
Module

x/hypixel/mod.ts>MinecraftColorAsHex

With thorough IntelliSense support & 100% test coverage, this is an unopinionated async/await API wrapper for Hypixel's Public API. It is developed in TypeScript complete with documentation, typed interfaces for all API responses (and an OpenAPI 3.0 schema!), built-in rate-limit handling, flexible cache support, helper functions, and support for undocumented endpoints.
Latest
enum MinecraftColorAsHex
Re-export
import { MinecraftColorAsHex } from "https://deno.land/x/hypixel@v3.1.1/mod.ts";

An enum that'll let you you get a hex color code for a specific Minecraft color formatting sequence.

Members

§0 = "000000"
§1 = "0000AA"
§2 = "00AA00"
§3 = "00AAAA"
§4 = "AA0000"
§5 = "AA00AA"
§6 = "FFAA00"
§7 = "AAAAAA"
§8 = "555555"
§9 = "5555FF"
§a = "55FF55"
§b = "55FFFF"
§c = "FF5555"
§d = "FF55FF"
§e = "FFFF55"
§f = "FFFFFF"