In inventory, glass beds, blocks, and panels are colorless. When creating a glass block or panel, it has no color, it remains transparent. When uninstalling and reinstalling or updating Minecraft, the colors are there, but after a few minutes the color disappears and becomes transparent. The beds when created retain their color but not in the inventory.
It happens in the last official version and in beta versions.