private static void DrawRow(Rect givenArea, HopeWorker worker)
        {
            Text.Font   = GameFont.Small;
            Text.Anchor = TextAnchor.MiddleLeft;
            GUI.BeginGroup(givenArea);

            // Main stuff
            Rect boundingRect = new Rect(0, 0, givenArea.width, EntryHeight);

            Widgets.DrawHighlightIfMouseover(boundingRect);

            // Tooltip
            sharedStringBuilder.Clear();
            sharedStringBuilder.AppendLine(worker.HopeDescription);
            sharedStringBuilder.AppendLine("\n");
            sharedStringBuilder.AppendLine(worker.HopeFlavorText);
            sharedStringBuilder.AppendLine("\n");
            sharedStringBuilder.AppendLine(worker.Hint);
            string       descriptionString = worker.HopeDescription;
            TaggedString flavorString      = ColoredText.Colorize(worker.HopeFlavorText, GenColor.FromHex("a0a0a0"));
            TaggedString hintString        = ColoredText.Colorize("Hint: ", ColoredText.CurrencyColor) + worker.Hint;
            TaggedString overallString     = descriptionString + "\n\n" + flavorString + "\n\n" + hintString;

            TooltipHandler.TipRegion(boundingRect, overallString);

            int valueWidth = 40;

            // Label stuff
            Rect textRect = new Rect(0, 0, boundingRect.width - valueWidth, boundingRect.height);

            textRect.xMin += 10;
            textRect.xMax -= 10;
            Widgets.Label(textRect, worker.HopeName.CapitalizeFirst());

            // Value stuff
            Text.WordWrap = false;
            Rect valueRect = new Rect(boundingRect.width - valueWidth, 0, valueWidth, boundingRect.height);

            Text.Anchor = TextAnchor.MiddleRight;
            float value = worker.CurrentHopeLevel;

            if (value >= 0)
            {
                GUI.color = PositiveColor;
            }
            else
            {
                GUI.color = NegativeColor;
            }
            Widgets.Label(valueRect, value.ToString("##0.0"));

            // Reset stuff
            Text.Anchor   = TextAnchor.UpperLeft;
            GUI.color     = Color.white;
            Text.WordWrap = true;

            // End group
            GUI.EndGroup();
        }
 static ColorLibrary()
 {
     ColorLibrary.Red          = GenColor.FromHex("e50000");
     ColorLibrary.Brown        = GenColor.FromHex("653700");
     ColorLibrary.Pink         = GenColor.FromHex("ff81c0");
     ColorLibrary.Blue         = GenColor.FromHex("0343df");
     ColorLibrary.Green        = GenColor.FromHex("15b01a");
     ColorLibrary.Purple       = GenColor.FromHex("7e1e9c");
     ColorLibrary.Black        = GenColor.FromHex("000000");
     ColorLibrary.Violet       = GenColor.FromHex("9a0eea");
     ColorLibrary.Teal         = GenColor.FromHex("029386");
     ColorLibrary.Grey         = GenColor.FromHex("929591");
     ColorLibrary.Magenta      = GenColor.FromHex("c20078");
     ColorLibrary.Orange       = GenColor.FromHex("f97306");
     ColorLibrary.Yellow       = GenColor.FromHex("ffff14");
     ColorLibrary.Leather      = GenColor.FromBytes(132, 99, 60, 255);
     ColorLibrary.LightPurple  = GenColor.FromHex("bf77f6");
     ColorLibrary.LimeGreen    = GenColor.FromHex("89fe05");
     ColorLibrary.SkyBlue      = GenColor.FromHex("75bbfd");
     ColorLibrary.LightGreen   = GenColor.FromHex("96f97b");
     ColorLibrary.LightBlue    = GenColor.FromHex("95d0fc");
     ColorLibrary.DarkOrange   = GenColor.FromHex("c65102");
     ColorLibrary.Sand         = GenColor.FromHex("e2ca76");
     ColorLibrary.PastelGreen  = GenColor.FromHex("b0ff9d");
     ColorLibrary.Mint         = GenColor.FromHex("9ffeb0");
     ColorLibrary.LightOrange  = GenColor.FromHex("fdaa48");
     ColorLibrary.BrightPink   = GenColor.FromHex("fe01b1");
     ColorLibrary.DeepPurple   = GenColor.FromHex("36013f");
     ColorLibrary.DarkBrown    = GenColor.FromHex("341c02");
     ColorLibrary.Taupe        = GenColor.FromHex("b9a281");
     ColorLibrary.PeaGreen     = GenColor.FromHex("8eab12");
     ColorLibrary.PukeGreen    = GenColor.FromHex("9aae07");
     ColorLibrary.BlueGreen    = GenColor.FromHex("137e6d");
     ColorLibrary.Khaki        = GenColor.FromHex("aaa662");
     ColorLibrary.Burgundy     = GenColor.FromHex("610023");
     ColorLibrary.DarkTeal     = GenColor.FromHex("014d4e");
     ColorLibrary.BrickRed     = GenColor.FromHex("8f1402");
     ColorLibrary.RoyalPurple  = GenColor.FromHex("4b006e");
     ColorLibrary.Plum         = GenColor.FromHex("580f41");
     ColorLibrary.Gold         = GenColor.FromHex("dbb40c");
     ColorLibrary.BabyBlue     = GenColor.FromHex("a2cffe");
     ColorLibrary.YellowGreen  = GenColor.FromHex("c0fb2d");
     ColorLibrary.BrightPurple = GenColor.FromHex("be03fd");
     ColorLibrary.DarkRed      = GenColor.FromHex("840000");
     ColorLibrary.PaleBlue     = GenColor.FromHex("d0fefe");
     ColorLibrary.GrassGreen   = GenColor.FromHex("3f9b0b");
     ColorLibrary.Navy         = GenColor.FromHex("01153e");
     ColorLibrary.Aquamarine   = GenColor.FromHex("04d8b2");
     ColorLibrary.BurntOrange  = GenColor.FromHex("c04e01");
     ColorLibrary.NeonGreen    = GenColor.FromHex("0cff0c");
     ColorLibrary.BrightBlue   = GenColor.FromHex("0165fc");
     ColorLibrary.Rose         = GenColor.FromHex("cf6275");
     ColorLibrary.LightPink    = GenColor.FromHex("ffd1df");
     ColorLibrary.Mustard      = GenColor.FromHex("ceb301");
     ColorLibrary.Indigo       = GenColor.FromHex("380282");
     ColorLibrary.Lime         = GenColor.FromHex("aaff32");
     ColorLibrary.DarkPink     = GenColor.FromHex("cb416b");
     ColorLibrary.OliveGreen   = GenColor.FromHex("677a04");
     ColorLibrary.Peach        = GenColor.FromHex("ffb07c");
     ColorLibrary.PaleGreen    = GenColor.FromHex("c7fdb5");
     ColorLibrary.LightBrown   = GenColor.FromHex("ad8150");
     ColorLibrary.HotPink      = GenColor.FromHex("ff028d");
     ColorLibrary.Lilac        = GenColor.FromHex("cea2fd");
     ColorLibrary.NavyBlue     = GenColor.FromHex("001146");
     ColorLibrary.RoyalBlue    = GenColor.FromHex("0504aa");
     ColorLibrary.Beige        = GenColor.FromHex("e6daa6");
     ColorLibrary.Salmon       = GenColor.FromHex("ff796c");
     ColorLibrary.Olive        = GenColor.FromHex("6e750e");
     ColorLibrary.Maroon       = GenColor.FromHex("650021");
     ColorLibrary.BrightGreen  = GenColor.FromHex("01ff07");
     ColorLibrary.DarkPurple   = GenColor.FromHex("35063e");
     ColorLibrary.Mauve        = GenColor.FromHex("ae7181");
     ColorLibrary.ForestGreen  = GenColor.FromHex("06470c");
     ColorLibrary.Aqua         = GenColor.FromHex("13eac9");
     ColorLibrary.Cyan         = GenColor.FromHex("00ffff");
     ColorLibrary.Tan          = GenColor.FromHex("d1b26f");
     ColorLibrary.DarkBlue     = GenColor.FromHex("00035b");
     ColorLibrary.Lavender     = GenColor.FromHex("c79fef");
     ColorLibrary.Turquoise    = GenColor.FromHex("06c2ac");
     ColorLibrary.DarkGreen    = GenColor.FromHex("033500");
 }