Skip to content

Conflicting HSB info in Color and colorMode() pages #916

@Henhenz1

Description

@Henhenz1

How would this new feature help increase access to p5.js?

Most appropriate sub-area of p5.js?

  • Accessibility (Web Accessibility)
  • Build tools and processes
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Friendly error system
  • Image
  • IO (Input/Output)
  • Localization
  • Math
  • Unit Testing
  • Typography
  • Utilities
  • WebGL
  • Documentation

Feature enhancement details:

The Color page's section on HSB states that all values range from 0 to 255 by default, but colorMode() documentation indicates that default HSB ranges are [0,360] for hue and [0,100] for saturation and brightness, which is consistent with the current editor. The information in the Color page appears to be out of date.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions