diff --git a/UniversalExtensions.cs b/UniversalExtensions.cs
index 983764c..72cefd6 100644
--- a/UniversalExtensions.cs
+++ b/UniversalExtensions.cs
@@ -515,7 +515,7 @@ public static class UniversalExtensions
/// Green
/// Blue
/// A string that represents the color in hex (e.g. 255, 0, 0 -> #FF0000)
- private static string ToHex(int R, int G, int B)
+ public static string ToHex(int R, int G, int B)
{
return "#" + R.ToString("X2") + G.ToString("X2") + B.ToString("X2");
}