From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: min-colors 88 Date: Thu, 27 Jan 2022 13:49:53 +0200 Message-ID: <83tudpe6u6.fsf@gnu.org> References: <83fsp9fzg6.fsf@gnu.org> <83a6fhfqna.fsf@gnu.org> <83zgnhe93c.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16586"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 27 13:16:24 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD3hQ-00049b-5x for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 27 Jan 2022 13:16:24 +0100 Original-Received: from localhost ([::1]:42748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nD3hO-0001IP-Vv for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 27 Jan 2022 07:16:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nD3Hw-0000Na-1L for help-gnu-emacs@gnu.org; Thu, 27 Jan 2022 06:50:04 -0500 Original-Received: from [2001:470:142:3::e] (port=54204 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nD3Ht-0003NC-Hk for help-gnu-emacs@gnu.org; Thu, 27 Jan 2022 06:50:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1egynzhBu71XyK8iZfvazcUQA/cfiAHd+AjhF546CLY=; b=YMHZxrtD92Nw ZQCdUbkV3l35Lwpge7KvprMl6cDK2eKd5DSBd7CPyyHhM/F9p12M/WcVgK972Ycj3NRjiA++N6n6e IP4xIF+rYqS6v6eTqoWhnbOVN4WJ7xcuW9JgKliVb1aBgy+nwqpZ9RG6M+3Io644iPSuPHCEZdHrQ HQ2eaR7UNthZ66S032UKev6AWzbm87ogsY+mlILhr7hg7F+1RhkEy6NGwXBGphCDKLHRVLw15bZg0 svuE+DoM0bjFdjr1D/YfJiPzZQAwuL/xfFONNMpsuBFl4o7XpMa/CYBAW5oF+twBUVAKVpK6nnAPx SiJK1vVAZx2OaDT+38rOWQ==; Original-Received: from [87.69.77.57] (port=4180 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nD3Hp-0002oz-Mx for help-gnu-emacs@gnu.org; Thu, 27 Jan 2022 06:50:00 -0500 In-Reply-To: (fatiparty@tutanota.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135559 Archived-At: > Date: Thu, 27 Jan 2022 12:43:04 +0100 (CET) > From: fatiparty@tutanota.com > Cc: Help Gnu Emacs > > Jan 27, 2022, 23:01 by eliz@gnu.org: > > >> 4-bit, 16 colours > >> 8-bit, 256 colours > >> 16-bit, 65,000 colours > >> > > > > There's no meaningful number of pixels that correspond to 88 colors, > > AFAIK. The number of colors supported by text-mode terminals doesn't > > necessarily depend on the pixel depth of the color display. > > > So one uses whatever bit format (e.g. 24-Bit Format for #RRGGBB) needed > to store the maximum colours supported? Yes. And you can use #RRGGBB (or any variant of it) regardless of the pixel depth, Emacs will convert as needed.