When used as a direct form of address, spoken or written, it takes the form Your Royal Highness. When used as a third-person reference, it is gender-specific (Her Royal Highness or His Royal Highness, both abbreviated HRH) and, in plural, Their Royal Highnesses (TRH).
By the 17th century, all local rulers in Italy adopted the style Highness, that was once used by kings and emperors only. According to Denis Diderot's Encyclopédie, the style of Royal Highness was created on the insistence of Archduke Ferdinand of Austria, Cardinal-Infante of Spain, a younger son of King Philip III of Spain. The archduke was travelling through Italy on his way to the Low Countries and, upon meeting Victor Amadeus I, Duke of Savoy, refused to address him as Highness unless the Duke addressed him as Royal Highness. Thus, the first use of the style Royal Highness was recorded in 1633. Gaston, Duke of Orléans, younger son of King Henry IV of France, encountered the style in Brussels and assumed it himself. His children later used the style, considering it their prerogative as grandchildren of France.
By the 18th century, Royal Highness had become the prevalent style for members of a continental reigning dynasty whose head bore the hereditary title of king or queen. The titles of family members of non-hereditary rulers (e.g., the Holy Roman Emperor, King of Poland, Princes of Moldavia and Wallachia--and even the kin of the Princes of Orange who held hereditary leadership though not monarchical position in much of the Netherlands, etc.) were less clear, varying until rendered moot in the 19th century. After dissolution of the Holy Roman Empire in 1806, several of Germany's prince-electors and other now sovereign rulers assumed the title of grand duke and with it, for themselves, their eldest sons and consorts, the style of Royal Highness (Baden, Hesse, Mecklenburg, Saxe-Weimar).
The vast majority of African royalty that make use of titles such as prince, chief and sheikh, eschew the attendant styles that one would in a European context be accustomed to seeing or hearing in accompaniment. Even in the cases of the aforesaid titles, they usually only exist as courtesies and may or may not have been recognised by a reigning fons honorum. However, some traditional leaders and their family members use royal styles when acting in their official roles as representatives of sovereign or constituent states, distinguishing their status from others who may use or claim traditional titles.
For example, the Nigerian traditional rulers of the Yoruba are usually styled using the HRH The X of Y method, even though they are confusingly known as kings in English and not the princes that the HRH style usually suggests. The chiefly appellation "Kabiyesi" (lit. He (or She) whose words are beyond question) is likewise used as the equivalent of the HRH and other such styles by this class of royalty when rendering their full titles in the Yoruba language.
Furthermore, the wives of the king of the Zulu peoples, although all entitled to the title of queen, do not share their husband's style of Majesty but instead are each addressed as Royal Highness, with the possible exception of the great wife.
In contrast to some other European kingdoms, the kingdom of Denmark reserves[how?] the superior style of Royal Highness only to the children of the monarch and the children of the crown prince; other grandchildren of a Danish monarch enjoy the style of Highness, e.g. Princess Elisabeth of Denmark.
The title of Archduke or Archduchess of Austria was known to be complemented with the style of Royal Highness for all non-reigning members of the House of Habsburg and later the House of Habsburg-Lorraine. Even though the Habsburgs held the Imperial crown of the Holy Roman Empire, it was nominally an elective office that could not be hereditarily transmitted, so the non-reigning family members adopted the style of members of the hereditary Royal family of Hungary, Croatia and Bohemia, etc.
This changed when Francis I of Austria dissolved the Holy Roman Empire in 1806, as the Archduchy of Austria was elevated to an Empire in 1804; the members of the House of Habsburg-Lorraine abandoned the style of Royal Highness in favour of the style of Imperial and Royal Highness to reflect the creation of the Empire of Austria.
At the Congress of Vienna in 1815, the former empress Marie Louise of France was restored to her Imperial and Royal style and granted the title of Duchess of Parma, Piacenza and Guastalla, as well as being restored to her premarital title of Archduchess and Imperial Princess of Austria, Royal Princess of Hungary, Croatia and Bohemia.
The title of "Prince/Princess of the Netherlands" with the accompanying style of H.R.H. is or may be granted by law to the following classes of persons:
A separate title of "Prince/Princess of Orange-Nassau" may be granted by law to members of the Dutch royal house  or, as a personal and non-hereditary title to former members of the royal house within three months of loss of membership. A Prince/Princess of Orange-Nassau who is not also a Prince/Princess of the Netherlands is addressed as "His/Her Highness" without the predicate "royal". That is the case for example of the children of Princess Margriet, younger daughter of the late Queen Juliana.
Finally, members of the royal house or former members of the royal house within 3 months of loss of their membership may be also inducted by royal decree into the Dutch nobility  with a rank lower than prince/princess and, generally, the accompanying style of "His/Her Highborn Lord/Lady". That is the case for example of the children of the younger brother of King Willem-Alexander, Prince Constantijn, who were given the titles of "Count/Countess of Orange-Nassau" and the honorific predicate of "Jonkheer/Jonkvrouw van Amsberg", both hereditary in the male line.
In Norway the style of Royal Highness is reserved[by whom?] for the children of the monarch and the eldest child of the heir apparent. Other children of the heir apparent are simply styled as prince or princess, e.g. Prince Sverre Magnus of Norway.
In Spain, the prince or princess of Asturias and his or her spouse and the infantes of Spain bear the style of Royal Highness. The infantes are the children of the monarch and the children of the prince or princess of Asturias. Their spouses are not infantes by marriage and do not bear the style of Royal Highness, although they usually bear the ducal title of their spouse with the style of The Most Excellent, like the children of the infantes and the grandees of Spain.
The consort of a Queen regnant also bears this style, along with the title of prince, although the last male consort, spouse of Queen Isabella II, was elevated to the dignity of King consort with the style of Majesty.
When Victoria, Crown Princess of Sweden married the commoner Olof Daniel Westling in 2010, the Swedish Royal Court announced that Westling would become "Prince Daniel" and "Duke of Västergötland", corresponding in form to the style used by Swedish princes of royal birth, including Victoria's younger brother Prince Carl Philip, Duke of Värmland, i.e. Prince + Given name + Duke of [Place]. Thus Westling was made a prince of Sweden and was granted the style Royal Highness, making him an official member of the Swedish Royal Family.
Princess Madeleine, Duchess of Hälsingland and Gästrikland married the commoner British-American banker Christopher O'Neill in 2013, but she did not adopt the surname O'Neill and instead retained the Bernadotte surname as do her children, and retained the style of Royal Highness. Christopher O'Neill kept his own name, unlike his brother-in-law Prince Daniel (above). O'Neill was not granted royal status and has remained a private citizen, since he wished to retain his British and United States citizenships and his business. He declined Swedish citizenship and for that reason could not be a member of the Swedish Royal Family or Duke of Hälsingland and Gästrikland (his wife's titles). To remain Swedish royalty and have succession rights to the Swedish throne, the couple's children will have to be raised in Sweden and as members of the Church of Sweden.
Three of the sisters of King Gustaf were granted honorary titles of Princess (without nationality) when they married commoners but lost their Royal Highness status, as did two of his uncles earlier in the 20th century.
In October 2019, the grandchildren of King Carl XVI Gustaf of Sweden retained the titles of Prince or Princess but lost the style of Royal Highness except for the children of the Crown Princess Victoria.
Sons, daughters, patrilineal grandsons and granddaughters of Ibn Saud are referred to by the style "His/Her Royal Highness" (HRH), differing from those belonging to the cadet branches, who are called "His/Her Highness" (HH) and in addition to that a reigning king has the title of Custodian of the Two Holy Mosques.
In the British monarchy, the king or queen of the United Kingdom grants the right to use the style "Royal Highness" by issuing letters patent. It is typically associated with the rank of prince or princess (although this has not always applied, an exception being Prince Philip, Duke of Edinburgh, who received the style in 1947 prior to his marriage to Princess Elizabeth but was not formally created a British prince until 1957. When a prince has another title such as Duke (or a princess the title of Duchess), they may be called HRH The Duke of .... For instance HRH The Duke of Connaught was a prince and a member of the royal family, while a non-royal duke such as His Grace The Duke of Devonshire is not a member of the British royal family, but is a member of the British peerage. When Edward VIII abdicated the throne in 1936 he was granted the style and title, HRH The Duke of Windsor. The woman he then married became the Duchess of Windsor, but she was denied the style HRH. Edward for much of the rest of his life attempted unsuccessfully to persuade the crown to grant her the style.
According to letters patent issued by King George V in 1917 the sons and daughters of sovereigns and the male-line grandchildren of sovereigns are entitled to the style. It is for this reason that the daughters of the Duke of York, Princess Beatrice and Princess Eugenie, carry the HRH status, but the children of the Princess Royal, Peter Phillips, and Zara Tindall do not. The children of the Earl of Wessex, at the request of the Earl and Countess of Wessex, are styled as the children of an earl, and thus are known as Lady Louise and Viscount Severn. Under his letters patent, only the eldest son of the eldest living son of the Prince of Wales was also entitled to the style, but not younger sons or daughters of the eldest living son of the Prince of Wales. Queen Elizabeth II changed this in 2012 prior to the birth of Prince George of Cambridge so that all the children of the eldest living son of the Prince of Wales would bear the style. This returned it to the format Queen Victoria had instituted in 1898. There is no mention of younger living sons of a Prince of Wales; however, in 2018, Prince Harry married Meghan Markle and they were awarded the titles of Duke and Duchess of Sussex. Her title was styled as HRH The Duchess of Sussex. Harry's children, while his grandmother still lives, will be entitled to be styled as the sons and daughters of a Duke and will not be entitled to the style Royal Highness. Once their grandfather Charles, Prince of Wales, ascends the throne, they will then, as male-line grandchildren of a sovereign, acquire the style His/Her Royal Highness. Thus Harry's son, Archie, is not automatically a British prince. On January 18, 2020, Queen Elizabeth II announced that Prince Harry and Meghan Markle will no longer use the style of His/Her Royal Highness due to their decision to step down as working members of the British royal family, though they are still entitled (to the style).
In the United Kingdom, letters patent dated 21 August 1996 stated that the wife of a member of the royal family loses the right to the style of HRH in the event of their divorce. It was for this reason that when the Prince and Princess of Wales divorced, she ceased to be Royal Highness, and was styled Diana, Princess of Wales.
Similarly, HRH The Duchess of York was restyled Sarah, Duchess of York, after her divorce from HRH The Duke of York.