Skip to content

colormode not recognized #9

Description

@clankill3r

MAC OS X 10.8.5
64bit
Processing 2.0.3

If i set the color then the values get's set between 0 and 255.

void setup() {
 size(400, 400); 
}

void draw() {
   g.colorMode(RGB, 1, 1, 1);
   background(color(1));

   color c = color(119.0);

   fill(c);
   rect(29, 78, 253, -45); 
}

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