Update UniversalExtensions.cs
This commit is contained in:
parent
36b9715e9d
commit
ba88ef438a
1 changed files with 1 additions and 1 deletions
|
|
@ -515,7 +515,7 @@ public static class UniversalExtensions
|
|||
/// <param name="G">Green</param>
|
||||
/// <param name="B">Blue</param>
|
||||
/// <returns>A string that represents the color in hex (e.g. 255, 0, 0 -> #FF0000)</returns>
|
||||
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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue