Skip to content

[p5.js 2.0+ Bug Report]: Color String Representation Is Incorrect #8843

@quinton-ashley

Description

@quinton-ashley

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • WebGPU
  • p5.strands
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

2.2.3 (beta)

Web browser and version

Chrome 148.0.7778.179

Operating system

macOS 26.5

Steps to reproduce this

Color string representation is incorrect and causes issues if original color values are reassigned.

The color strings are transparent (with alpha set to 00), but the default alpha should be at the max (FF).

Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions