Does lapis lazuli really dye stuff like in mine craft?

because in minecraft u can use lapiks lazuli to dye stuff
2 answers 2