Rhyolite and granite contain the same minerals, which give them the same color. However rhyolite is fine-grained, while granite is course-grained. What does this tell you about how rhyolite forms?
Rhyolite is formed by cooling magma inside the earth, and granite is formed by cooling lava outside the earth.
Granite is formed by cooling magma inside the earth, and rhyolite is formed by cooling lava outside the earth.
Granite is a type of metamorphic rock, and rhyolite is a type of sedimentary rock.