# Having trouble with orange and yellow colors

**URL:** <https://forums.blinkstick.com/t/having-trouble-with-orange-and-yellow-colors/1470>\
**Category:** Support\
**Created:** [June 21, 2021, 10:20pm UTC](https://forums.blinkstick.com/t/having-trouble-with-orange-and-yellow-colors/1470 "2021-06-21T22:20:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![goncaloqueiros\_blink](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@goncaloqueiros\_blink](https://forums.blinkstick.com/u/goncaloqueiros_blink)\
**Post date:** [June 21, 2021, 10:20pm UTC](https://forums.blinkstick.com/t/having-trouble-with-orange-and-yellow-colors/1470/1 "2021-06-21T22:20:09Z")

</div>

Hi.  
I’ve just bought a square, and I’m having trouble seeing orange and yellow colors, as they are pretty much “green”.  
Is there any adjustment I can make?

bstick.set\_color(red=255, green=255, blue=0, index=0)  
This was supposed to be yellow, but it’s actually a light green

bstick.set\_color(red=255, green=165, blue=0, index=0)  
This was supposed to be orange, but its also a light green as well (a bit more warmer then “yellow”)

Thanks

---

<div class="post-metadata">

**Author:** ![arvydas](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/arvydas/32/242_2.png) [@arvydas](https://forums.blinkstick.com/u/arvydas)\
**Post date:** [June 22, 2021, 11:38am UTC](https://forums.blinkstick.com/t/having-trouble-with-orange-and-yellow-colors/1470/2 "2021-06-22T11:38:31Z")

</div>

You may need to experiment wiith values. Also you can do:

blinkstick --set-mode 3

This way when you send single color, it will light up all 8 LEDs

To go back just run the following command:

blinkstick --set-mode 2

---

<div class="post-metadata">

**Author:** ![goncaloqueiros\_blink](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@goncaloqueiros\_blink](https://forums.blinkstick.com/u/goncaloqueiros_blink)\
**Post date:** [June 23, 2021, 12:09am UTC](https://forums.blinkstick.com/t/having-trouble-with-orange-and-yellow-colors/1470/3 "2021-06-23T00:09:51Z")

</div>

Hey @arvydas, thanks for the response.  
I’ve tried to play with modes before, but I always get an error:

```
 [Errno 5] Input/Output Error
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/blinkstick/blinkstick.py", line 249, in _usb_ctrl_transfer
    return self.device.ctrl_transfer(bmRequestType, bRequest, wValue, wIndex, data_or_wLength)
  File "/usr/local/lib/python3.9/site-packages/usb/core.py", line 1072, in ctrl_transfer
    ret = self._ctx.backend.ctrl_transfer(
  File "/usr/local/lib/python3.9/site-packages/usb/backend/libusb1.py", line 893, in ctrl_transfer
    ret = _check(self.lib.libusb_control_transfer(
  File "/usr/local/lib/python3.9/site-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 5] Input/Output Error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/blinkstick", line 330, in <module>
    sys.exit(main())
  File "/usr/local/bin/blinkstick", line 263, in main
    stick.set_mode(int(options.mode))
  File "/usr/local/lib/python3.9/site-packages/blinkstick/blinkstick.py", line 562, in set_mode
    self._usb_ctrl_transfer(0x20, 0x9, 0x0004, 0, control_string)
  File "/usr/local/lib/python3.9/site-packages/blinkstick/blinkstick.py", line 257, in _usb_ctrl_transfer
    raise BlinkStickException("Could not communicate with BlinkStick {0} - it may have been removed".format(self.bs_serial))
blinkstick.blinkstick.BlinkStickException: Could not communicate with BlinkStick BS037649-3.0 - it may have been removed

```

Do you have any idea of what might be the problem?  
Thanks

---

<div class="post-metadata">

**Author:** ![arvydas](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/arvydas/32/242_2.png) [@arvydas](https://forums.blinkstick.com/u/arvydas)\
**Post date:** [June 23, 2021, 12:31pm UTC](https://forums.blinkstick.com/t/having-trouble-with-orange-and-yellow-colors/1470/4 "2021-06-23T12:31:44Z")

</div>

Could you post your code sample?

---

<div class="post-metadata">

**Author:** ![goncaloqueiros\_blink](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@goncaloqueiros\_blink](https://forums.blinkstick.com/u/goncaloqueiros_blink)\
**Post date:** [June 23, 2021, 1:15pm UTC](https://forums.blinkstick.com/t/having-trouble-with-orange-and-yellow-colors/1470/5 "2021-06-23T13:15:30Z")

</div>

There’s no code, I just run `blinkstick --set-mode 3`  
But, there’s a caveat, I’m using docker and `blinkstick` actually translates to:  
`docker run --rm -ti --volume $(pwd):/app --privileged -v /dev/bus/usb:/dev/bus/usb -w /app blinkstick blinkstick $@`

The python scripts I have use the same container and work perfectly, so does commands like `blinkstick --pulse red`
