This Yarn was dyed; Here is an article on “Pure Structural Color”.
https://www.smithsonianmag.com/innovation/this-british-zoologist-wants-to-reinvent-color-180981349/
Thanks, Pete! :)