The clothing codes in the Taiho Ritsuryo Code and the Yoro Ritsuryo Code prescribed the clothes that should be worn in the Imperial Court as the formal clothing worn by the court nobles in the Imperial Court called 'Raifuku,' the clothing worn by the court nobles in the Imperial Court called 'Chofuku,' and the uniforms.
大宝律令と養老律令の衣服令により、朝廷で着る服が定義され、礼服(宮中)（らいふく）、朝服（ちょうふく）、制服が定められた。