Devoid doesn't affect the color identity of the card for the purposes of the Commander variant. For example, while Abstruse Appropriation is colorless because it has devoid, its color identity is still white and black, and it can't be included in a Commander deck where the commander's color identity doesn't include both white and black.

Artwork
Loading artwork…
Eldrazi Linebreaker
Modern Horizons 3 · #117 · EN
Nonfoil—Foil—
Card rules
Devoid (This card has no color.)
Trample
At the beginning of combat on your turn, target creature you control gains haste and gets +X/+0 until end of turn, where X is the number of Eldrazi you control.
3/3
Rare · Illustrated by Leonardo Santanna
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
A card with devoid is just colorless. It's not colorless and the colors of mana in its mana cost.
The value of X is calculated only once, as Eldrazi Linebreaker's last ability resolves.
If a card loses devoid, it will still be colorless. This is because effects that change an object's color (like the one created by devoid) are considered before the object loses devoid.
Other cards and abilities can give a card with devoid a color. If that happens, it's just the new color, not that color and colorless.
Devoid works in all zones, not just on the battlefield.