diff --git a/RGB.NET.Core/Helper/ConversionHelper.cs b/RGB.NET.Core/Helper/ConversionHelper.cs index 56bbf62..cf96a36 100644 --- a/RGB.NET.Core/Helper/ConversionHelper.cs +++ b/RGB.NET.Core/Helper/ConversionHelper.cs @@ -20,10 +20,10 @@ for (int bx = 0, cx = 0; bx < bytes.Length; ++bx, ++cx) { byte b = ((byte)(bytes[bx] >> 4)); - c[cx] = (char)(b > 9 ? b + 0x37 + 0x20 : b + 0x30); + c[cx] = (char)(b > 9 ? b + 0x37: b + 0x30); b = ((byte)(bytes[bx] & 0x0F)); - c[++cx] = (char)(b > 9 ? b + 0x37 + 0x20 : b + 0x30); + c[++cx] = (char)(b > 9 ? b + 0x37: b + 0x30); } return new string(c);