diff --git a/.github/actions/spell-check/expect.txt b/.github/actions/spell-check/expect.txt
index beae360464..211ffc92e7 100644
--- a/.github/actions/spell-check/expect.txt
+++ b/.github/actions/spell-check/expect.txt
@@ -903,6 +903,8 @@ hresult
hrgn
HRSRC
HSCROLL
+hsb
+hsi
hsl
hstring
hsv
@@ -913,6 +915,7 @@ html
htt
http
hu
+hwb
HWINEVENTHOOK
hwnd
HWNDFIRST
@@ -1087,6 +1090,7 @@ IPrincipal
IProgram
IPublic
IQuery
+IReadOnlyDictionary
IReflect
IRegistered
IRegistration
@@ -1438,6 +1442,7 @@ NCMBUTTONDOWN
NCMBUTTONUP
NCMOUSELEAVE
NCMOUSEMOVE
+NCol
NCPAINT
NCRBUTTONDBLCLK
NCRBUTTONDOWN
diff --git a/.github/actions/spell-check/patterns.txt b/.github/actions/spell-check/patterns.txt
index 60513959e0..46aec12d98 100644
--- a/.github/actions/spell-check/patterns.txt
+++ b/.github/actions/spell-check/patterns.txt
@@ -10,6 +10,9 @@ data:[a-zA-Z=;,/0-9+-]+
"Lorem[^"]+?\."
TestCase\("[^"]+"
+# Test line with hexadecimal colors
+\[DataRow\("[0-9A-F]{6}", \d{3}, \d{3}, \d{3}\)\]
+
# Windows paths
\\native
\\notifications
diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml.cs b/src/core/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml.cs
index 8c9a3cd80e..c7a17a3335 100644
--- a/src/core/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml.cs
+++ b/src/core/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml.cs
@@ -23,7 +23,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
}
///
- /// Event is called when the is completly loaded, inclusive the ItemSource
+ /// Event is called when the is completely loaded, inclusive the ItemSource
///
/// The sender of this event
/// The arguments of this event
@@ -31,7 +31,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
{
/**
* UWP hack
- * because UWP load the binded ItemSource of the ComboBox asyncronous,
+ * because UWP load the bound ItemSource of the ComboBox asynchronous,
* so after InitializeComponent() the ItemSource is still empty and can't automatically select a entry.
* Selection via SelectedItem and SelectedValue is still not working too
*/
diff --git a/src/modules/colorPicker/ColorPickerUI/Helpers/ColorRepresentationHelper.cs b/src/modules/colorPicker/ColorPickerUI/Helpers/ColorRepresentationHelper.cs
index cd2ab33c06..b21304a9ab 100644
--- a/src/modules/colorPicker/ColorPickerUI/Helpers/ColorRepresentationHelper.cs
+++ b/src/modules/colorPicker/ColorPickerUI/Helpers/ColorRepresentationHelper.cs
@@ -74,15 +74,15 @@ namespace ColorPicker.Helpers
/// A representation of a HSB color
private static string ColorToHSB(Color color)
{
- var (hue, saturation, brightnes) = ColorHelper.ConvertToHSBColor(color);
+ var (hue, saturation, brightness) = ColorHelper.ConvertToHSBColor(color);
hue = Math.Round(hue);
saturation = Math.Round(saturation * 100);
- brightnes = Math.Round(brightnes * 100);
+ brightness = Math.Round(brightness * 100);
return $"hsb({hue.ToString(CultureInfo.InvariantCulture)}"
+ $", {saturation.ToString(CultureInfo.InvariantCulture)}%"
- + $", {brightnes.ToString(CultureInfo.InvariantCulture)}%)";
+ + $", {brightness.ToString(CultureInfo.InvariantCulture)}%)";
}
///