这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@holgerfriedrich
Copy link
Member

rgbToHsb(PercentType[]) supports arrays of size 4 (RGBW) in addition to and arrays of size 3 (RGB).

In contrast to rgbToHsb(int[4]) this does not introduce errors (rounding to int).

@genesis81 FYI

rgbToHsb(PercentType) supports arrays of size 4 (RGBW) in addition to and arrays of size 3 (RGB).

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
@holgerfriedrich holgerfriedrich requested a review from a team as a code owner November 22, 2023 23:00
@genesis81
Copy link
Contributor

Looks good, thank for the support.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
@holgerfriedrich
Copy link
Member Author

Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kaikreuzer kaikreuzer merged commit 9a9726b into openhab:main Dec 3, 2023
@kaikreuzer kaikreuzer added the enhancement An enhancement or new feature of the Core label Dec 3, 2023
@kaikreuzer kaikreuzer added this to the 4.1 milestone Dec 3, 2023
@holgerfriedrich holgerfriedrich deleted the pr-colorutil-rgbwpercent branch December 3, 2023 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement An enhancement or new feature of the Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants