Increasing Access
I would like to suggest the inclusion of high-definition color spaces, such as oklch(), in the p5.js colormode() library. By incorporating these advanced color spaces, p5.js can cater to a wider range of diverse users, improving accessibility and enabling more inclusive visual experiences. Allow me to outline the benefits and rationale for this feature request:
Enhanced Color Precision: High-definition color spaces, such as oklch(), provide a greater level of precision and accuracy in color representation. This increased precision ensures that colors are faithfully rendered across various devices, benefiting users with visual impairments or sensitivities. By including these color spaces in the colormode() library, p5.js would allow developers to create visually pleasing and accessible experiences for a broader audience.
Extended Color Gamut: High-definition color spaces offer an expanded range of colors that can be expressed and manipulated. By incorporating these color spaces into p5.js, you empower designers, artists, and developers to work with a more comprehensive palette, enabling them to create more vibrant and visually engaging experiences. This inclusivity of color expression fosters diversity and encourages the exploration of new artistic possibilities.
Compatibility with Modern Displays: The inclusion of high-definition color spaces in p5.js aligns with the advancements in display technologies, which now support wider color gamuts and higher color depth. By providing support for these modern color spaces, p5.js ensures that developers can fully utilize the capabilities of high-definition displays, resulting in visually stunning and accessible applications.
When using gradients with colours the resulting colours brightness is consistant, see image below.

Most appropriate sub-area of p5.js?
Feature request details
With the new and more vibrant colour spaces available in the browsers, can P5.js add support for these colour modes.
It could be added to the colorMode() with the use of colour-mix
Increasing Access
I would like to suggest the inclusion of high-definition color spaces, such as oklch(), in the p5.js colormode() library. By incorporating these advanced color spaces, p5.js can cater to a wider range of diverse users, improving accessibility and enabling more inclusive visual experiences. Allow me to outline the benefits and rationale for this feature request:
Enhanced Color Precision: High-definition color spaces, such as oklch(), provide a greater level of precision and accuracy in color representation. This increased precision ensures that colors are faithfully rendered across various devices, benefiting users with visual impairments or sensitivities. By including these color spaces in the colormode() library, p5.js would allow developers to create visually pleasing and accessible experiences for a broader audience.
Extended Color Gamut: High-definition color spaces offer an expanded range of colors that can be expressed and manipulated. By incorporating these color spaces into p5.js, you empower designers, artists, and developers to work with a more comprehensive palette, enabling them to create more vibrant and visually engaging experiences. This inclusivity of color expression fosters diversity and encourages the exploration of new artistic possibilities.
Compatibility with Modern Displays: The inclusion of high-definition color spaces in p5.js aligns with the advancements in display technologies, which now support wider color gamuts and higher color depth. By providing support for these modern color spaces, p5.js ensures that developers can fully utilize the capabilities of high-definition displays, resulting in visually stunning and accessible applications.
When using gradients with colours the resulting colours brightness is consistant, see image below.

Most appropriate sub-area of p5.js?
Feature request details
With the new and more vibrant colour spaces available in the browsers, can P5.js add support for these colour modes.
It could be added to the colorMode() with the use of colour-mix