# Transparent stroke issue

**URL:** https://discourse.processing.org/t/transparent-stroke-issue/42566
**Category:** Processing
**Created:** [August 6, 2023, 7:20pm UTC](https://discourse.processing.org/t/transparent-stroke-issue/42566 "2023-08-06T19:20:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nuhuhwy](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/nuhuhwy/32/18485_2.png) [@nuhuhwy](https://discourse.processing.org/u/nuhuhwy)
#### Post date: [August 6, 2023, 7:20pm UTC](https://discourse.processing.org/t/transparent-stroke-issue/42566/1 "2023-08-06T19:20:29Z")

</div>

My code doesnt fill the top moving circle with the full #0000FF even after a long time, and the bottom one looks like it, but it isnt filling it with #0000FF!  
Why is this like this?

```auto
void setup() {
  size(500,500);
  background(255);
  colorMode(HSB, 255);
  frameRate(120);
}

void draw() {
  noStroke();
  fill(#0000FF,1);
  circle(width/2+sin(frameCount/(float)100)*200, 25, 50);
  fill(#0000FF,5);
  circle(width/2+sin(frameCount/(float)100)*200, 25+55, 50);
}

```

---

<div class="post-metadata">

### Author: ![SNICKRS](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SNICKRS](https://discourse.processing.org/u/SNICKRS)
#### Post date: [August 6, 2023, 8:25pm UTC](https://discourse.processing.org/t/transparent-stroke-issue/42566/2 "2023-08-06T20:25:01Z")

</div>

im not much of a graphics dude but i fiddled with your sketch a bit i think the reason why it doesnt work is because of the way processing handles transparency:

if you try changing the background in your sketch youll notice how the color changes too because the color is based on what it is being drawn over, to simulate transparency

it is filling with complete blue, just note that itll look different based on the background/things drawn behind it

hope this helps bro
