According to 'The Garment Code' of "Yoro Ritsuryo Code," oni was determined as the color of 'koromo' (robe) of crown prince's reifuku (formal dress used for choga [retainers' New Year's greeting to the emperor] and the enthronement ceremony) and chofuku (the original model of sokutai).
黄丹は、『養老律令』の「衣服令」において皇太子の礼服（朝賀と即位に使う正装）・朝服（のちの束帯の原型）の「衣」の色と規定されている。