Skip to content

k_to_rgb acutally returns out-of-order R,B,G #2

@itsayellow

Description

@itsayellow

The return value for function k_to_rgb is wrong, it's actually returning (red,blue,green).

return __clamp(red, 0, 255), __clamp(blue, 0, 255), __clamp(green, 0, 255)

This also makes the k_to_rgb_hex function return incorrect hex strings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions