Fix label for hex
This commit is contained in:
1 parent
c111339bfc
commit
9e7da496b2
2 files changed
+3
-3
No files matched your search
@@ -140,7 +140,7 @@ namespace ColorPicker
|
|||||||
h /= 6;
|
h /= 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
hexlabel.Text = $"#{r:X2}{g:X2}{b:X2}";
|
hexlabel.Text = $"Hex: #{r:X2}{g:X2}{b:X2}";
|
||||||
rgblabel.Text = $"R: {r}, G: {g}, B: {b}";
|
rgblabel.Text = $"R: {r}, G: {g}, B: {b}";
|
||||||
hsllabel.Text = $"H: {(h * 360):0}°, S: {(s * 100):0}%, L: {(l * 100):0}%";
|
hsllabel.Text = $"H: {(h * 360):0}°, S: {(s * 100):0}%, L: {(l * 100):0}%";
|
||||||
cmkylabel.Text = $"C: {(c * 100):0}%, M: {(m * 100):0}%, Y: {(y * 100):0}%, K: {(k * 100):0}%";
|
cmkylabel.Text = $"C: {(c * 100):0}%, M: {(m * 100):0}%, Y: {(y * 100):0}%, K: {(k * 100):0}%";
|
||||||
|
|||||||
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.1")]
|
[assembly: AssemblyVersion("1.0.2")]
|
||||||
[assembly: AssemblyFileVersion("1.0.1")]
|
[assembly: AssemblyFileVersion("1.0.2")]
|
||||||
Reference in new issue
Block a user