package me.kawaiizenbo.moonlight.util;

public class ColorUtils 
{
    public static String colorChar = "\247";

    public static String black = "\2470";
    public static String darkBlue = "\2471";
    public static String darkGreen = "\2472";
    public static String darkAqua = "\2473";
    public static String darkRed = "\2474";
	public static String darkMagenta = "\2475";
    public static String gold = "\2476";
    public static String gray = "\2477";
    public static String darkGray = "\2478";
    public static String blue = "\2479";
    public static String green = "\247a";
    public static String aqua = "\247b";
	public static String red = "\247c";
	public static String magenta = "\247d";
	public static String yellow = "\247e";
	public static String white = "\247f";
	
	public static String underline = "\247n";
    public static String bold = "\247l";
    public static String italic = "\247o";
    public static String strikethrough = "\247m";
    public static String obfuscated = "\247k";
	public static String reset = "\247r";

    public static int rgbaToInt(int r, int g, int b, int a)
    {
        return ((a&0x0ff)<<24)|((r&0x0ff)<<16)|((g&0x0ff)<<8)|(b&0x0ff);
    }

    public static int rgbToInt(int r, int g, int b)
    {
        return ((r&0x0ff)<<16)|((g&0x0ff)<<8)|(b&0x0ff);
    }
}
