Color (commande)

color est une commande de Windows permettant de modifier la couleur de la console (cmd.exe).

Paramètres de la commande

Cette commande prend plusieurs paramètres comme un nombre représentant la couleur à appliquer[1]: (On peut remarquer que les références à chaque couleur sont une suite hexadécimale)
0 1 2 3 4 5 6 7 8 9 A B C D E F
Noir Bleu Foncé Vert Bleu-Gris Marron Pourpre Kaki Gris Clair Gris Bleu Clair Vert clair Cyan Rouge Rose Jaune Blanc

Aide de la commande

La commande peut prendre en paramètre -help pour informer l'utilisateur des différents usages possibles avec la commande:

C:\Users\Utilisateur> color -help
Change les couleurs par défaut du premier et de l'arrière-plan de la console.

COLOR [attr]

  attr    Spécifie les attributs de couleurs de l'apparence de la console

Les attributs de couleurs sont spécifiés par DEUX chiffres hexadécimaux -- le
premier correspond à l'arrière-plan, le second au premier plan. Chaque chiffre
peut prendre n'importe quelle de ces valeurs :

    0 = Noir        8 = Gris
    1 = Bleu foncé  9 = Bleu clair
    2 = Vert        A = Vert clair
    3 = Bleu-gris   B = Cyan
    4 = Marron      C = Rouge
    5 = Pourpre     D = Rose
    6 = Kaki        E = Jaune
    7 = Gris clair  F = Blanc

Si aucun argument n'est donné, cette commande restaure les couleurs
sélectionnées au moment où CMD.EXE a été ouvert. Cette valeur vient soit de la
fenêtre de la console, du commutateur en ligne de commande /T, ou de la valeur
DefaultColor du registre.

La commande COLOR met ERRORLEVEL à 1 si vous tentez de l'exécuter
avec la même couleur pour l'arrière et le premier plan.

Exemple : ''COLOR fc'' affiche du rouge sur du blanc

[2]

Référence et sources

  1. Commande color -help (Voir rubrique Aide de la commande)
  2. Exporté directement d'une invite de commande d'un ordinateur sous Windows

Read other articles:

Pour les articles homonymes, voir Monroe, Mortensen, Mortenson et Baker. Vous lisez un « bon article » labellisé en 2009. Marilyn Monroe Marilyn Monroe pour le magazine Photoplay, en 1953. Données clés Nom de naissance Norma Jeane Mortenson (état civil)Norma Jeane Baker (nom de baptême) Naissance 1er juin 1926Los Angeles, Californie (États-Unis) Nationalité Américaine Décès 4 août 1962 (à 36 ans)Los Angeles, Californie (États-Unis) Profession Actrice, chanteusemanne…

土库曼斯坦总统土库曼斯坦国徽土库曼斯坦总统旗現任谢尔达尔·别尔德穆哈梅多夫自2022年3月19日官邸阿什哈巴德总统府(Oguzkhan Presidential Palace)機關所在地阿什哈巴德任命者直接选举任期7年,可连选连任首任萨帕尔穆拉特·尼亚佐夫设立1991年10月27日 土库曼斯坦土库曼斯坦政府与政治 国家政府 土库曼斯坦宪法 国旗 国徽 国歌 立法機關(英语:National Council of Turkmenistan) 土…

Chapter of the New Testament John 7← chapter 6chapter 8 →John 16:14-22 on the recto side of Papyrus 5, written about AD 250.BookGospel of JohnCategoryGospelChristian Bible partNew TestamentOrder in the Christian part4 John 7 is the seventh chapter of the Gospel of John in the New Testament of the Christian Bible. It recounts Jesus' visit to Jerusalem for the feast of Tabernacles, the possibility of his arrest and debate as to whether he is the Messiah. The author of the book contai…

Census Town in West Bengal, IndiaBaskaCensus TownBaskaLocation in West Bengal, IndiaShow map of West BengalBaskaBaska (India)Show map of IndiaCoordinates: 23°34′14″N 87°10′23″E / 23.570439°N 87.172971°E / 23.570439; 87.172971Country IndiaStateWest BengalDistrictPaschim BardhamanPopulation (2011) • Total6,609Languages* • OfficialBengali, Hindi, EnglishTime zoneUTC+5:30 (IST)PIN713321Telephone/STD code0341Vehicle registrationWBL…

Replica of website components hosted elsewhere Mirror sites or mirrors are replicas of other websites. The concept of mirroring applies to network services accessible through any protocol, such as HTTP or FTP. Such sites have different URLs than the original site, but host identical or near-identical content.[1] Mirror sites are often located in a different geographic region than the original, or upstream site. The purpose of mirrors is to reduce network traffic, improve access speed, en…

قصر القرار أو دار القرار ويسمى كذلك قصر زبيدة، وهو أحد قصور الدولة العباسية، الذي قامت الأميرة زبيدة بنت جعفر العباسية ببنائه وسكنه الخليفة العباسي الأمين. التسمية لقد جاءت تسمية هذا القصر، القرار، تيمناً بما جاء به القرآن الكريم بالآية 39 من سورة غافر «وأن الآخرة هي دار الق…

Ernest BrowneBrowne (before 1903)Full nameErnest de Sylly Hamilton BrowneCountry (sports) IrelandBorn11 July 1855Great Malvern, EnglandDied13 April 1946(1946-04-13) (aged 90)Cheltenham, EnglandSinglesCareer record124–30 (80.5%)[1]Career titles25[2]Grand Slam singles resultsWimbledonSF (1885) Wikimedia Commons has media related to Ernest Browne. Ernest de Sylly Hamilton Browne (11 July 1855 – 13 April 1946;[3] also E. de S. H. Browne) was …

1878–1881 conflict in the Old West of the US Lincoln County WarBilly the Kid is the most remembered gunfighter of the Lincoln County War.DateFebruary 18 – July 20, 1878 or July 14, 1881 (when Billy the Kid was killed)LocationLincoln County, New Mexico TerritoryCaused byRevenge killingsResulted inRegulators were suppressed and both factions collapsedParties Murphy-Dolan-Riley Faction General Store Monopoly New Mexico lawmen Jesse Evans Gang Seven Rivers Warriors John Kinney Gang Tunstall-McSw…

Политические репрессии в СССР Политические репрессии Экономические репрессии Идеологические репрессии Сталинские репрессии Большой террор «Провинившиеся народы» Национальные операции ГУЛАГ (лагеря) Карательная психиатрия Депортации народов корейцы китайцы курды не…

Arab Andalusian polymath (c. 1085 – 1138) Ibn BajjaIbn Bājjaابن باجةAn imaginary sketch representing Ibn Bajja, 1961Bornc. 1085Zaragoza, Taifa of Zaragoza, Al-Andalus (present-day Aragon, Zaragoza (province), Spain)[1]Died1138(1138-00-00) (aged 52–53)Fes, Almoravid empire (present-day Fes, Morocco)NationalityAndalusi[1]Scientific careerFieldsAstronomer, philosopher, physician, physicist, poet, scientist[1] Abū Bakr Muḥammad ibn Yaḥyà ibn aṣ-…

التقسيم الإداري الإيراني، هو تقسيم نتج عن الدستور الإيراني ويقوم التقسيم الإداري الحالي في الجمهورية الإسلامية الإيرانية على أساس نظام أربعة مستويات وهي حسب الترتيب محافظة ومقاطعة وناحية وقسم ريفي. سيستان وبلوشستان خليج عمان خراسان رضوي فارس أذربيجان الشرقية أصفهان يزد ك…

Global view centered on North America North America is the third largest continent, and is also a portion of the third largest supercontinent if North and South America are combined into the Americas and Africa, Europe, and Asia are considered to be part of one supercontinent called Afro-Eurasia. With an estimated population of 580 million and an area of 24,709,000 km2 (9,540,000 mi2), the northernmost of the two continents of the Western Hemisphere[1] is bounded by the Pacific…

2002 United States House of Representatives elections in Arkansas ← 2000 November 5, 2002 (2002-11-05) 2004 → All 4 Arkansas seats to the United States House of Representatives   Majority party Minority party   Party Democratic Republican Last election 3 1 Seats won 3 1 Seat change Popular vote 392,086 283,739 Percentage 57.0% 41.2% Congressional district resultsCounty results Democratic   50–60%   60–70% …

Cluster of neurons in a dorsal root of a spinal nerve Dorsal root ganglionA dorsal root ganglion (DRG) from a chicken embryo (around stage of day 7) after incubation overnight in NGF growth medium stained with anti-neurofilament antibody. Neurites growing out of the ganglion are visible.A spinal nerve with its ventral and dorsal roots. The dorsal root ganglion is the spinal ganglion, following the dorsal root.DetailsPrecursorNeural crestIdentifiersLatinganglion sensorium nervi spinalisMeSHD00572…

ساندور برودي   معلومات شخصية الميلاد 16 مايو 1884   تاريخ الوفاة 19 أبريل 1944 (59 سنة)   مركز اللعب وسط الجنسية المجر  المسيرة الاحترافية1 سنوات فريق م. (هـ.) 1902-1914 فيرينتسفاروشي 151 (17) المنتخب الوطني 1906–1913 المجر 17 (1) الفرق التي دربها 1921–23 غوتبورغ 1937 فيرينتسفاروشي المواقع مُع…

Pott's disease redirects here. It is not to be confused with Postural orthostatic tachycardia syndrome, also known as POTS. This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (August 2020) (Learn how and when to remove this message) Medical conditionPott's diseaseTuberculosis of the spine in an Egyptian mummySpecialtyRheumatology SymptomsPott's spine, tuber…

Disambiguazione – Se stai cercando altri significati, vedi Pontremoli (disambigua). Pontremolicomune Pontremoli – Veduta LocalizzazioneStato Italia Regione Toscana Provincia Massa-Carrara AmministrazioneSindacoJacopo Maria Ferri (centro-destra) dal 4-10-2021 TerritorioCoordinate44°22′34″N 9°52′47.64″E44°22′34″N, 9°52′47.64″E (Pontremoli) Altitudine236 m s.l.m. Superficie182,48 km² Abitanti6 956[1] (21-9-2023) Densit…

British diplomat, colonial administrator and botanist The Right HonourableSir Charles EliotGCMG CBBritish Ambassador to JapanIn office1919–1925MonarchGeorge VPrime MinisterDavid Lloyd GeorgeBonar LawStanley BaldwinRamsay MacDonaldPreceded bySir Conyngham GreeneSucceeded bySir John TilleyVice-Chancellor of the University of Hong KongIn office1912–1918Succeeded byProf. G.P. JordanVice-Chancellor of the University of SheffieldIn office1905–1913Succeeded byHerbert FisherCommissioner of the…

Men's doubles' sprint at the 2024 FIL World Luge ChampionshipsVenueAltenberg bobsleigh, luge, and skeleton trackLocationAltenberg, GermanyDates26 JanuaryCompetitors52 from 12 nationsTeams26Winning time27.863Medalists  Mārtiņš BotsRoberts Plūme   Latvia Thomas SteuWolfgang Kindl   Austria Juri GattRiccardo Schöpf   Austria← 20232025 → 2024 FIL World Luge ChampionshipsIndividualmenwomenDoublesmenwomenI…

Moscow Metro station ShchyolkovskayaЩёлковскаяMoscow Metro stationGeneral informationLocationSevernoye Izmaylovo DistrictGolyanovo DistrictEastern Administrative OkrugMoscowRussiaCoordinates55°48′34″N 37°47′55″E / 55.8094°N 37.7986°E / 55.8094; 37.7986Owned byMoskovsky MetropolitenLine(s) Arbatsko-Pokrovskaya linePlatforms1 island platformTracks2ConnectionsBus: 3, 52, 68, 97, 133, 171, 223, 257, 283, 449, 627, 627к, 645, 716, 735, 760, 833, т3…